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

Unified Diff: third_party/WebKit/Source/modules/geolocation/PositionCallback.idl

Issue 2816713004: Geolocation: rename Geoposition to Position to follow Spec (take 2) (Closed)
Patch Set: 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/PositionCallback.idl
diff --git a/third_party/WebKit/Source/modules/geolocation/PositionCallback.idl b/third_party/WebKit/Source/modules/geolocation/PositionCallback.idl
index 64f380344329dd9574baaeb1cf62ea8519cc3f48..ac29010b08bb614e2c38362ca2ad665571ca1dfe 100644
--- a/third_party/WebKit/Source/modules/geolocation/PositionCallback.idl
+++ b/third_party/WebKit/Source/modules/geolocation/PositionCallback.idl
@@ -23,6 +23,10 @@
* DAMAGE.
*/
+// https://www.w3.org/TR/geolocation-API/#position-callback
+
+// TODO(mcasas, foolip): PositionCallback should be a callback function, not a
+// callback interface, see https://crbug.com/569301
callback interface PositionCallback {
- void handleEvent(Geoposition position);
+ void handleEvent(Position position);
};
« no previous file with comments | « third_party/WebKit/Source/modules/geolocation/Position.idl ('k') | third_party/WebKit/Source/modules/modules_idl_files.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698