OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 RuntimeEnabled=Geofencing, | 6 RuntimeEnabled=Geofencing, |
7 Exposed=(Window,Worker), | 7 Exposed=(Window,Worker), |
8 GarbageCollected, | 8 GarbageCollected, |
9 Constructor(Dictionary init) | 9 Constructor(Dictionary init) |
10 ] interface CircularRegion : GeofencingRegion { | 10 ] interface CircularGeofencingRegion : GeofencingRegion { |
11 const double MIN_RADIUS = 1.0; | 11 const double MIN_RADIUS = 1.0; |
12 const double MAX_RADIUS = 100.0; | 12 const double MAX_RADIUS = 100.0; |
13 | 13 |
14 readonly attribute double latitude; | 14 readonly attribute double latitude; |
15 readonly attribute double longitude; | 15 readonly attribute double longitude; |
16 readonly attribute double radius; | 16 readonly attribute double radius; |
17 }; | 17 }; |
OLD | NEW |