Index: Source/modules/geolocation/Geolocation.idl |
diff --git a/Source/modules/geolocation/Geolocation.idl b/Source/modules/geolocation/Geolocation.idl |
index 2872ed00c5e2710307ea8728a1332edd678b482d..3abd9761bed550ae4567ac741dd6f27b18c780f9 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 deregisterRegion(DOMString regionId); |
+ [RuntimeEnabled=Geofencing, CallWith=ScriptState] Promise getRegisteredRegions(); |
+}; |