Index: Source/modules/geolocation/Geolocation.idl |
diff --git a/Source/modules/geolocation/Geolocation.idl b/Source/modules/geolocation/Geolocation.idl |
index 2872ed00c5e2710307ea8728a1332edd678b482d..ab7f1ce43523850f07f2f25d528bf2ad095a88b8 100644 |
--- a/Source/modules/geolocation/Geolocation.idl |
+++ b/Source/modules/geolocation/Geolocation.idl |
@@ -39,5 +39,8 @@ |
optional Dictionary options); |
void clearWatch(long watchID); |
-}; |
+ [RuntimeEnabled=Geofencing, CallWith=ScriptState] Promise registerRegion(GeofencingRegion region); |
+ [RuntimeEnabled=Geofencing, CallWith=ScriptState] Promise unregisterRegion(DOMString regionId); |
+ [RuntimeEnabled=Geofencing, CallWith=ScriptState] Promise getRegisteredRegions(); |
+}; |