Chromium Code Reviews| 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) |
|
Peter Beverloo
2014/07/10 13:17:28
What is the expected behavior of the following?
v
Marijn Kruisselbrink
2014/07/10 15:11:01
I don't think a CircularRegion without at least a
Peter Beverloo
2014/07/10 16:31:36
What else do you imagine to be required for a circ
Marijn Kruisselbrink
2014/07/11 10:06:39
Yes, I agree that this isn't the place to discuss
|
| +] interface CircularRegion : GeofencingRegion { |
| + const double MIN_RADIUS = 1.0; |
|
Peter Beverloo
2014/07/10 13:17:27
I share Jochen's concern that this isn't clear wit
Marijn Kruisselbrink
2014/07/10 15:11:01
I agree that it isn't immediately clear what unit
|
| + const double MAX_RADIUS = 100.0; |
| + |
| + readonly attribute double latitude; |
| + readonly attribute double longitude; |
| + readonly attribute double radius; |
| +}; |