Index: Source/modules/geolocation/CircularRegion.idl |
diff --git a/Source/modules/geolocation/CircularRegion.idl b/Source/modules/geolocation/CircularRegion.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bc8ce0b45e73475607117f8a1421339ad0f2a2af |
--- /dev/null |
+++ b/Source/modules/geolocation/CircularRegion.idl |
@@ -0,0 +1,16 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ RuntimeEnabled=Geofencing, |
+ GarbageCollected, |
+ Constructor(Dictionary init) |
+] interface CircularRegion : GeofencingRegion { |
+ const double MIN_RADIUS = 1.0; |
+ const double MAX_RADIUS = 100.0; |
jochen (gone - plz use gerrit)
2014/07/10 11:38:51
is it clear for geo ppl what unit the radius is in
Marijn Kruisselbrink
2014/07/10 12:36:00
I don't know. Are IDL files supposed to document t
Peter Beverloo
2014/07/10 13:17:27
FWIW, the IDL files define the Web Exposed API sur
|
+ |
+ readonly attribute double latitude; |
+ readonly attribute double longitude; |
+ readonly attribute double radius; |
+}; |