diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/Modules/geolocation/Geolocation.idl | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/Modules/geolocation/Geolocation.idl')
-rw-r--r-- | Source/WebCore/Modules/geolocation/Geolocation.idl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Source/WebCore/Modules/geolocation/Geolocation.idl b/Source/WebCore/Modules/geolocation/Geolocation.idl index e3ac9ea68..489af42ea 100644 --- a/Source/WebCore/Modules/geolocation/Geolocation.idl +++ b/Source/WebCore/Modules/geolocation/Geolocation.idl @@ -29,14 +29,16 @@ Conditional=GEOLOCATION, GenerateIsReachable=ImplFrame, ] interface Geolocation { - [Custom] void getCurrentPosition(PositionCallback successCallback, - optional PositionErrorCallback errorCallback, - optional PositionOptions options); + // FIXME: PositionErrorCallback should not be nullable + void getCurrentPosition(PositionCallback successCallback, + optional PositionErrorCallback? errorCallback, + optional PositionOptions options); - [Custom] long watchPosition(PositionCallback successCallback, - optional PositionErrorCallback errorCallback, - optional PositionOptions options); + // FIXME: PositionErrorCallback should not be nullable + long watchPosition(PositionCallback successCallback, + optional PositionErrorCallback? errorCallback, + optional PositionOptions options); - void clearWatch(long watchID); + void clearWatch(long watchId); }; |