Home | History | Annotate | Download | only in page

Lines Matching full:error

72 static PassRefPtr<PositionError> createPositionError(GeolocationError* error)
75 switch (error->code()) {
84 return PositionError::create(code, error->message());
103 void Geolocation::GeoNotifier::setFatalError(PassRefPtr<PositionError> error)
107 m_fatalError = error;
158 RefPtr<PositionError> error = PositionError::create(PositionError::TIMEOUT, "Timeout expired");
159 m_errorCallback->handleEvent(error.get());
447 RefPtr<PositionError> error = PositionError::create(PositionError::PERMISSION_DENIED, permissionDeniedErrorMessage);
448 error->setIsFatal(true);
449 handleError(error.get());
463 void Geolocation::sendError(Vector<RefPtr<GeoNotifier> >& notifiers, PositionError* error)
470 notifier->m_errorCallback->handleEvent(error);
516 void Geolocation::handleError(PositionError* error)
518 ASSERT(error);
530 if (error->isFatal())
533 sendError(oneShotsCopy, error);
534 sendError(watchersCopy, error);
609 void Geolocation::setError(GeolocationError* error)
611 RefPtr<PositionError> positionError = createPositionError(error);