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

Unified Diff: Source/modules/geolocation/GeofencingRegion.idl

Issue 375353002: Add the first very basic bits of a geofencing API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update tests Created 6 years, 5 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
Index: Source/modules/geolocation/GeofencingRegion.idl
diff --git a/Source/modules/gamepad/GamepadButton.idl b/Source/modules/geolocation/GeofencingRegion.idl
similarity index 60%
copy from Source/modules/gamepad/GamepadButton.idl
copy to Source/modules/geolocation/GeofencingRegion.idl
index 19d88ce77cdc808153c4250e1203526586640e01..a407a7b98ce4943b0850aba235645f851fb8de0c 100644
--- a/Source/modules/gamepad/GamepadButton.idl
+++ b/Source/modules/geolocation/GeofencingRegion.idl
@@ -3,9 +3,9 @@
// found in the LICENSE file.
[
- NoInterfaceObject,
Peter Beverloo 2014/07/10 16:31:36 Why did you decide to remove |NoInterfaceObject| h
Marijn Kruisselbrink 2014/07/11 10:06:39 I removed it because you told me to add Exposed=Wi
+ RuntimeEnabled=Geofencing,
+ Exposed=Window&Worker,
GarbageCollected,
-] interface GamepadButton {
- readonly attribute boolean pressed;
- readonly attribute double value;
+] interface GeofencingRegion {
+ readonly attribute DOMString id;
};

Powered by Google App Engine
This is Rietveld 408576698