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 #ifndef CircularRegion_h | 5 #ifndef CircularRegion_h |
6 #define CircularRegion_h | 6 #define CircularRegion_h |
7 | 7 |
8 #include "modules/geolocation/GeofencingRegion.h" | 8 #include "modules/geofencing/GeofencingRegion.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class Dictionary; | 12 class Dictionary; |
13 | 13 |
14 struct CircularRegionInit { | 14 struct CircularRegionInit { |
15 CircularRegionInit() : latitude(0), longitude(0), radius(0) { } | 15 CircularRegionInit() : latitude(0), longitude(0), radius(0) { } |
16 explicit CircularRegionInit(const Dictionary& init); | 16 explicit CircularRegionInit(const Dictionary& init); |
17 | 17 |
18 String id; | 18 String id; |
(...skipping 18 matching lines...) Expand all Loading... |
37 explicit CircularRegion(const CircularRegionInit&); | 37 explicit CircularRegion(const CircularRegionInit&); |
38 | 38 |
39 double m_latitude; | 39 double m_latitude; |
40 double m_longitude; | 40 double m_longitude; |
41 double m_radius; | 41 double m_radius; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace blink | 44 } // namespace blink |
45 | 45 |
46 #endif | 46 #endif |
OLD | NEW |