Home
last modified time | relevance | path

Searched refs:PositionError (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/page/
DGeolocation.cpp70 static PassRefPtr<PositionError> createPositionError(GeolocationError* error) in createPositionError()
72 PositionError::ErrorCode code = PositionError::POSITION_UNAVAILABLE; in createPositionError()
75 code = PositionError::PERMISSION_DENIED; in createPositionError()
78 code = PositionError::POSITION_UNAVAILABLE; in createPositionError()
82 return PositionError::create(code, error->message()); in createPositionError()
101 void Geolocation::GeoNotifier::setFatalError(PassRefPtr<PositionError> error) in setFatalError()
164 … RefPtr<PositionError> error = PositionError::create(PositionError::TIMEOUT, "Timeout expired"); in timerFired()
317 …notifier->setFatalError(PositionError::create(PositionError::PERMISSION_DENIED, permissionDeniedEr… in startRequest()
332 …notifier->setFatalError(PositionError::create(PositionError::POSITION_UNAVAILABLE, failedToStartSe… in startRequest()
352 …notifier->setFatalError(PositionError::create(PositionError::PERMISSION_DENIED, permissionDeniedEr… in requestUsesCachedPosition()
[all …]
DPositionError.h35 class PositionError : public RefCounted<PositionError> {
43 …static PassRefPtr<PositionError> create(ErrorCode code, const String& message) { return adoptRef(n… in create()
51 PositionError(ErrorCode code, const String& message) in PositionError() function
DPositionErrorCallback.h34 class PositionError; variable
40 virtual void handleEvent(PositionError*) = 0;
DGeolocation.h96 void setFatalError(PassRefPtr<PositionError>);
108 RefPtr<PositionError> m_fatalError;
153 void sendError(GeoNotifierVector&, PositionError*);
169 void handleError(PositionError*);
DPositionError.idl28 interface [Conditional=GEOLOCATION] PositionError {
/external/webkit/Source/WebCore/platform/gtk/
DGeolocationServiceGtk.cpp90 setError(PositionError::POSITION_UNAVAILABLE, "Could not connect to location provider."); in startUpdating()
106 setError(PositionError::POSITION_UNAVAILABLE, error->message); in startUpdating()
113 setError(PositionError::POSITION_UNAVAILABLE, error->message); in startUpdating()
157 PositionError* GeolocationServiceGtk::lastError() const in lastError()
184 that->setError(PositionError::POSITION_UNAVAILABLE, error->message); in getPositionCallback()
194 that->setError(PositionError::POSITION_UNAVAILABLE, "Position could not be determined."); in position_changed()
208 void GeolocationServiceGtk::setError(PositionError::ErrorCode errorCode, const char* message) in setError()
211 m_lastError = PositionError::create(errorCode, String::fromUTF8(message)); in setError()
DGeolocationServiceGtk.h45 PositionError* lastError() const;
50 void setError(PositionError::ErrorCode, const char* message);
58 RefPtr<PositionError> m_lastError;
/external/webkit/Source/WebKit/android/jni/
DMockGeolocation.cpp62 PositionError::ErrorCode codeEnum = static_cast<PositionError::ErrorCode>(code); in setError()
64 RefPtr<PositionError> error = PositionError::create(codeEnum, messageString); in setError()
/external/webkit/Source/WebCore/platform/mock/
DGeolocationServiceMock.h58 static void setError(PassRefPtr<PositionError> position);
61 virtual PositionError* lastError() const { return s_lastError->get(); } in lastError()
76 static RefPtr<PositionError>* s_lastError;
DGeolocationServiceMock.cpp41 RefPtr<PositionError>* GeolocationServiceMock::s_lastError;
74 void GeolocationServiceMock::setError(PassRefPtr<PositionError> error) in setError()
129 s_lastError = new RefPtr<PositionError>; in initStatics()
/external/webkit/Source/WebCore/platform/android/
DGeolocationServiceAndroid.h54 virtual PositionError* lastError() const { return m_lastError.get(); } in lastError()
61 void newErrorAvailable(PassRefPtr<PositionError>);
73 RefPtr<PositionError> m_lastError;
DGeolocationServiceBridge.cpp124 RefPtr<PositionError> error = in newErrorAvailable()
125PositionError::create(PositionError::POSITION_UNAVAILABLE, android::jstringToWtfString(env, messag… in newErrorAvailable()
DGeolocationServiceAndroid.cpp156 void GeolocationServiceAndroid::newErrorAvailable(PassRefPtr<PositionError> error) in newErrorAvailable()
/external/webkit/Source/WebCore/bindings/js/
DJSCustomPositionErrorCallback.h35 class PositionError; variable
46 virtual void handleEvent(PositionError*);
DJSCustomPositionErrorCallback.cpp46 void JSCustomPositionErrorCallback::handleEvent(PositionError* positionError) in handleEvent()
/external/webkit/Source/WebCore/platform/efl/
DGeolocationServiceEfl.h44 virtual PositionError* lastError() const;
50 RefPtr<PositionError> m_lastError;
DGeolocationServiceEfl.cpp74 PositionError* GeolocationServiceEfl::lastError() const in lastError()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8CustomPositionErrorCallback.h38 class PositionError; variable
50 virtual void handleEvent(PositionError*);
DV8CustomPositionErrorCallback.cpp49 void V8CustomPositionErrorCallback::handleEvent(PositionError* error) in handleEvent()
/external/webkit/Source/WebCore/platform/
DGeolocationService.h35 class PositionError; variable
63 virtual PositionError* lastError() const { return 0; } in lastError()
/external/webkit/Source/WebKit/chromium/src/
DWebGeolocationClientMock.cpp65 case PositionError::PERMISSION_DENIED: in setError()
68 case PositionError::POSITION_UNAVAILABLE: in setError()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DDumpRenderTreeSupportQt.cpp813 case PositionError::PERMISSION_DENIED: in setMockGeolocationError()
816 case PositionError::POSITION_UNAVAILABLE: in setMockGeolocationError()
/external/webkit/Source/WebCore/
DDerivedSources.make332 PositionError \
DCodeGenerators.pri335 page/PositionError.idl \
DCMakeLists.txt340 page/PositionError.idl

12