/external/webkit/Source/WebCore/page/ |
Geoposition.h | 36 class Geoposition : public RefCounted<Geoposition> { 38 static PassRefPtr<Geoposition> create(PassRefPtr<Coordinates> coordinates, DOMTimeStamp timestamp) 40 return adoptRef(new Geoposition(coordinates, timestamp)); 43 PassRefPtr<Geoposition> threadSafeCopy() const 45 return Geoposition::create(m_coordinates->threadSafeCopy(), m_timestamp); 52 Geoposition(PassRefPtr<Coordinates> coordinates, DOMTimeStamp timestamp)
|
PositionCallback.h | 34 class Geoposition; 40 virtual void handleEvent(Geoposition*) = 0;
|
Geoposition.idl | 28 interface [Conditional=GEOLOCATION, OmitConstructor] Geoposition {
|
GeolocationPositionCache.h | 39 class Geoposition; 53 void setCachedPosition(Geoposition*); 54 Geoposition* cachedPosition(); 70 RefPtr<Geoposition> m_cachedPosition;
|
Geolocation.h | 31 #include "Geoposition.h" 83 Geoposition* lastPosition(); 99 void runSuccessCallback(Geoposition*); 145 void setCachedPosition(Geoposition* cachedPosition) { m_cache->setCachedPosition(cachedPosition); } 146 Geoposition* cachedPosition() { return m_cache->cachedPosition(); } 154 void sendPosition(GeoNotifierVector&, Geoposition*); 203 RefPtr<Geoposition> m_lastPosition;
|
GeolocationPositionCache.cpp | 32 #include "Geoposition.h" 97 void GeolocationPositionCache::setCachedPosition(Geoposition* cachedPosition) 103 Geoposition* GeolocationPositionCache::cachedPosition() 185 m_cachedPosition = Geoposition::create(coordinates.release(), timestamp); 207 RefPtr<Geoposition> cachedPosition;
|
/external/webkit/Source/WebCore/platform/android/ |
GeolocationServiceAndroid.h | 53 virtual Geoposition* lastPosition() const { return m_lastPosition.get(); } 60 void newPositionAvailable(PassRefPtr<Geoposition>); 67 static bool isPositionMovement(Geoposition* position1, Geoposition* position2); 68 static bool isPositionMoreAccurate(Geoposition* position1, Geoposition* position2); 69 static bool isPositionMoreTimely(Geoposition* position1, Geoposition* position2); 72 RefPtr<Geoposition> m_lastPosition;
|
GeolocationServiceBridge.h | 36 class Geoposition; 54 static PassRefPtr<Geoposition> toGeoposition(JNIEnv *env, const jobject &location);
|
GeolocationServiceAndroid.cpp | 31 #include "Geoposition.h" 142 void GeolocationServiceAndroid::newPositionAvailable(PassRefPtr<Geoposition> position) 174 bool GeolocationServiceAndroid::isPositionMovement(Geoposition* position1, Geoposition* position2) 190 bool GeolocationServiceAndroid::isPositionMoreAccurate(Geoposition* position1, Geoposition* position2) 196 bool GeolocationServiceAndroid::isPositionMoreTimely(Geoposition* position1, Geoposition* position2)
|
/external/webkit/Source/WebCore/bindings/js/ |
JSCustomPositionCallback.h | 35 class Geoposition; 48 virtual void handleEvent(Geoposition*);
|
JSCustomPositionCallback.cpp | 46 void JSCustomPositionCallback::handleEvent(Geoposition* geoposition) 57 args.append(toJS(exec, deprecatedGlobalObjectForPrototype(exec), geoposition));
|
/external/webkit/Source/WebCore/platform/efl/ |
GeolocationServiceEfl.h | 26 #include "Geoposition.h" 43 virtual Geoposition* lastPosition() const; 49 RefPtr<Geoposition> m_lastPosition;
|
GeolocationServiceEfl.cpp | 69 Geoposition* GeolocationServiceEfl::lastPosition() const
|
/external/webkit/Source/WebCore/platform/mock/ |
GeolocationServiceMock.h | 57 static void setPosition(PassRefPtr<Geoposition> position); 60 virtual Geoposition* lastPosition() const { return s_lastPosition->get(); } 75 static RefPtr<Geoposition>* s_lastPosition;
|
GeolocationServiceMock.cpp | 33 #include "Geoposition.h" 40 RefPtr<Geoposition>* GeolocationServiceMock::s_lastPosition; 65 void GeolocationServiceMock::setPosition(PassRefPtr<Geoposition> position) 128 s_lastPosition = new RefPtr<Geoposition>;
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8CustomPositionCallback.h | 38 class Geoposition; 50 virtual void handleEvent(Geoposition*);
|
V8CustomPositionCallback.cpp | 49 void V8CustomPositionCallback::handleEvent(Geoposition* position)
|
/external/webkit/Source/WebCore/platform/ |
GeolocationService.h | 34 class Geoposition; 62 virtual Geoposition* lastPosition() const { return 0; }
|
/external/webkit/Source/WebCore/platform/gtk/ |
GeolocationServiceGtk.h | 25 #include "Geoposition.h" 44 Geoposition* lastPosition() const; 57 RefPtr<Geoposition> m_lastPosition;
|
GeolocationServiceGtk.cpp | 152 Geoposition* GeolocationServiceGtk::lastPosition() const 169 m_lastPosition = Geoposition::create(coordinates.release(), m_timestamp * 1000.0);
|
/external/webkit/Source/WebKit/android/jni/ |
MockGeolocation.cpp | 33 #include "Geoposition.h" 56 RefPtr<Geoposition> position = Geoposition::create(coordinates.release(), WTF::currentTimeMS());
|
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
position-string.js | 22 shouldBe('position.toString()', '"[object Geoposition]"');
|
timestamp.js | 1 description("Tests that Geoposition timestamps are well-formed (non-zero and in the same units as Date.getTime).");
|
window-close-crash.js | 16 testPassed("Received Geoposition.");
|
/external/chromium/chrome/browser/geolocation/ |
geolocation_browsertest.cc | 24 #include "content/common/geoposition.h" 184 void NotifyGeoposition(const Geoposition& geoposition) { 186 MockLocationProvider::instance_->HandlePositionChanged(geoposition); 195 // 3. Allowing the infobar does not trigger an error, and allow a geoposition to 286 Geoposition GeopositionFromLatLong(double latitude, double longitude) { 287 Geoposition geoposition; local 288 geoposition.latitude = latitude; 289 geoposition.longitude = longitude [all...] |