/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)
|
GeolocationPositionCache.h | 39 class Geoposition; 53 void setCachedPosition(Geoposition*); 54 Geoposition* cachedPosition(); 70 RefPtr<Geoposition> m_cachedPosition;
|
PositionCallback.h | 34 class Geoposition; 40 virtual void handleEvent(Geoposition*) = 0;
|
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;
|
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)
|
GeolocationServiceBridge.h | 36 class Geoposition; 54 static PassRefPtr<Geoposition> toGeoposition(JNIEnv *env, const jobject &location);
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
GeolocationClientQt.cpp | 63 void GeolocationClientQt::positionUpdated(const QGeoPositionInfo &geoPosition) 65 if (!geoPosition.isValid()) 68 QGeoCoordinate coord = geoPosition.coordinate(); 71 bool providesAltitude = (geoPosition.coordinate().type() == QGeoCoordinate::Coordinate3D); 74 double accuracy = geoPosition.attribute(QGeoPositionInfo::HorizontalAccuracy); 76 bool providesAltitudeAccuracy = geoPosition.hasAttribute(QGeoPositionInfo::VerticalAccuracy); 77 double altitudeAccuracy = geoPosition.attribute(QGeoPositionInfo::VerticalAccuracy); 79 bool providesHeading = geoPosition.hasAttribute(QGeoPositionInfo::Direction); 80 double heading = geoPosition.attribute(QGeoPositionInfo::Direction); 82 bool providesSpeed = geoPosition.hasAttribute(QGeoPositionInfo::GroundSpeed) [all...] |
/external/webkit/LayoutTests/fast/dom/Geolocation/ |
position-string-expected.txt | 9 PASS position.toString() is "[object Geoposition]"
|
timestamp-expected.txt | 1 Tests that Geoposition timestamps are well-formed (non-zero and in the same units as Date.getTime).
|
window-close-crash-expected.txt | 9 PASS Received Geoposition.
|
/external/webkit/Source/WebCore/platform/efl/ |
GeolocationServiceEfl.h | 26 #include "Geoposition.h" 43 virtual Geoposition* lastPosition() const; 49 RefPtr<Geoposition> m_lastPosition;
|
/external/webkit/Source/WebCore/bindings/js/ |
JSCustomPositionCallback.cpp | 46 void JSCustomPositionCallback::handleEvent(Geoposition* geoposition) 57 args.append(toJS(exec, deprecatedGlobalObjectForPrototype(exec), geoposition));
|
JSCustomPositionCallback.h | 35 class Geoposition; 48 virtual void handleEvent(Geoposition*);
|
/external/webkit/Source/WebCore/platform/gtk/ |
GeolocationServiceGtk.h | 25 #include "Geoposition.h" 44 Geoposition* lastPosition() const; 57 RefPtr<Geoposition> m_lastPosition;
|
/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...] |
/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/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/webkit/Source/WebCore/bindings/v8/custom/ |
V8CustomPositionCallback.h | 38 class Geoposition; 50 virtual void handleEvent(Geoposition*);
|
/external/webkit/Source/WebCore/platform/ |
GeolocationService.h | 34 class Geoposition; 62 virtual Geoposition* lastPosition() const { return 0; }
|