Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(770)

Unified Diff: third_party/WebKit/Source/modules/geolocation/Geolocation.h

Issue 2809843002: Geolocation: rename Geoposition to Position to follow Spec (Closed)
Patch Set: position-string-expected.txt Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/geolocation/Geolocation.h
diff --git a/third_party/WebKit/Source/modules/geolocation/Geolocation.h b/third_party/WebKit/Source/modules/geolocation/Geolocation.h
index be2f6e7ecb5c73df9f8dd7372c4540e8d16a61a8..3a28ed5f7e53bc0959e263fb34d0da41abc2a3fe 100644
--- a/third_party/WebKit/Source/modules/geolocation/Geolocation.h
+++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.h
@@ -34,7 +34,7 @@
#include "modules/ModulesExport.h"
#include "modules/geolocation/GeoNotifier.h"
#include "modules/geolocation/GeolocationWatchers.h"
-#include "modules/geolocation/Geoposition.h"
+#include "modules/geolocation/Position.h"
#include "modules/geolocation/PositionCallback.h"
#include "modules/geolocation/PositionError.h"
#include "modules/geolocation/PositionErrorCallback.h"
@@ -120,7 +120,7 @@ class MODULES_EXPORT Geolocation final
}
void SendError(GeoNotifierVector&, PositionError*);
- void SendPosition(GeoNotifierVector&, Geoposition*);
+ void SendPosition(GeoNotifierVector&, Position*);
// Removes notifiers that use a cached position from |notifiers| and
// if |cached| is not null they are added to it.
@@ -187,7 +187,7 @@ class MODULES_EXPORT Geolocation final
GeoNotifierSet one_shots_;
GeolocationWatchers watchers_;
GeoNotifierSet pending_for_permission_notifiers_;
- Member<Geoposition> last_position_;
+ Member<Position> last_position_;
// States of Geolocation permission as granted by the embedder. Unknown
// means that the embedder still has to be asked for the current permission

Powered by Google App Engine
This is Rietveld 408576698