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

Unified Diff: Source/modules/geolocation/Geolocation.idl

Issue 336343002: Use "Dictionary" for PositionOptions instead of Custom binding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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: Source/modules/geolocation/Geolocation.idl
diff --git a/Source/modules/geolocation/Geolocation.idl b/Source/modules/geolocation/Geolocation.idl
index 736e71579d68a35e7898ae08ff293bb394e96dfe..aa9e828e192102cc70150e43b351999613294599 100644
--- a/Source/modules/geolocation/Geolocation.idl
+++ b/Source/modules/geolocation/Geolocation.idl
@@ -29,14 +29,14 @@
NoInterfaceObject,
] interface Geolocation {
// FIXME: should be: PositionOptions options: need PositionOptions.idl and dictionary http:/crbug.com/321462
- [Custom, PerWorldBindings, LogActivity] void getCurrentPosition(PositionCallback successCallback,
+ [PerWorldBindings, LogActivity] void getCurrentPosition(PositionCallback successCallback,
optional PositionErrorCallback errorCallback,
- optional object options);
+ optional Dictionary options);
// FIXME: should be: PositionOptions options: need PositionOptions.idl and dictionary http:/crbug.com/321462
- [Custom, PerWorldBindings, LogActivity] long watchPosition(PositionCallback successCallback,
+ [PerWorldBindings, LogActivity] long watchPosition(PositionCallback successCallback,
optional PositionErrorCallback errorCallback,
- optional object options);
+ optional Dictionary options);
void clearWatch(long watchID);
};

Powered by Google App Engine
This is Rietveld 408576698