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

Unified Diff: webkit/chaos/ChaosGeolocation.idl

Issue 160084: Chaos geolocation demo, non-WebKit part. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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
« no previous file with comments | « webkit/chaos/ChaosGeolocation.cpp ('k') | webkit/chaos/ChaosGeoposition.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/chaos/ChaosGeolocation.idl
===================================================================
--- webkit/chaos/ChaosGeolocation.idl (revision 0)
+++ webkit/chaos/ChaosGeolocation.idl (revision 0)
@@ -0,0 +1,13 @@
+module html {
+ interface ChaosGeolocation {
+ readonly attribute ChaosGeoposition lastPosition;
+
+ // Use ChaosPositionCallback because WebKit PositionCallback code does
+ // not build, at least with V8.
+ void getCurrentPosition(in ChaosPositionCallback successCallback/*, in PositionErrorCallback errorCallback, in PositionOptions options*/);
+
+ [Custom] long watchPosition(in ChaosPositionCallback successCallback/*, in PositionErrorCallback errorCallback, in PositionOptions options*/);
+
+ void clearWatch(in long watchId);
+ };
+}
« no previous file with comments | « webkit/chaos/ChaosGeolocation.cpp ('k') | webkit/chaos/ChaosGeoposition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698