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, | |
9 Constructor(CircularGeofencingRegionInit init) | 8 Constructor(CircularGeofencingRegionInit init) |
10 ] interface CircularGeofencingRegion : GeofencingRegion { | 9 ] interface CircularGeofencingRegion : GeofencingRegion { |
11 const double MIN_RADIUS = 1.0; | 10 const double MIN_RADIUS = 1.0; |
12 const double MAX_RADIUS = 100.0; | 11 const double MAX_RADIUS = 100.0; |
13 | 12 |
14 readonly attribute double latitude; | 13 readonly attribute double latitude; |
15 readonly attribute double longitude; | 14 readonly attribute double longitude; |
16 readonly attribute double radius; | 15 readonly attribute double radius; |
17 }; | 16 }; |
OLD | NEW |