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

Unified Diff: Source/modules/geofencing/Geofencing.idl

Issue 401713005: Move all geofencing code into its own module separate from geolocation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectations Created 6 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 | « Source/modules/geofencing/Geofencing.cpp ('k') | Source/modules/geofencing/GeofencingRegion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geofencing/Geofencing.idl
diff --git a/Source/modules/geolocation/GeofencingRegion.idl b/Source/modules/geofencing/Geofencing.idl
similarity index 51%
copy from Source/modules/geolocation/GeofencingRegion.idl
copy to Source/modules/geofencing/Geofencing.idl
index 4e22058d98b22fb2f0a7d196263ea4b9a458feab..7b36e70cfbbcbcaf250a778a7454e0b5babfe32d 100644
--- a/Source/modules/geolocation/GeofencingRegion.idl
+++ b/Source/modules/geofencing/Geofencing.idl
@@ -3,9 +3,11 @@
// found in the LICENSE file.
[
- RuntimeEnabled=Geofencing,
NoInterfaceObject,
+ RuntimeEnabled=Geofencing,
GarbageCollected,
-] interface GeofencingRegion {
- readonly attribute DOMString id;
+] interface Geofencing {
+ [CallWith=ScriptState] Promise registerRegion(GeofencingRegion region);
+ [CallWith=ScriptState] Promise unregisterRegion(DOMString regionId);
+ [CallWith=ScriptState] Promise getRegisteredRegions();
};
« no previous file with comments | « Source/modules/geofencing/Geofencing.cpp ('k') | Source/modules/geofencing/GeofencingRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698