OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WebCircularRegion_h | |
6 #define WebCircularRegion_h | |
7 | |
8 #include "WebCommon.h" | |
9 #include "WebGeofencingRegion.h" | |
10 #include "WebPrivatePtr.h" | |
11 | |
12 namespace blink { | |
13 | |
14 class WebCircularRegionPrivate; | |
15 | |
16 class WebCircularRegion FINAL : public WebGeofencingRegion { | |
abarth-chromium
2014/08/23 05:43:34
Are we not using "geo" in these names? We don't w
Marijn Kruisselbrink
2014/08/25 22:25:25
Done.
| |
17 public: | |
18 WebCircularRegion() { } | |
19 WebCircularRegion(const WebCircularRegion& other) { assign(other); } | |
20 WebCircularRegion& operator=(const WebCircularRegion& other) | |
21 { | |
22 assign(other); | |
23 return *this; | |
24 } | |
25 | |
26 BLINK_PLATFORM_EXPORT static WebCircularRegion create(const WebString& id, d ouble latitude, double longitude, double radius); | |
27 | |
28 BLINK_PLATFORM_EXPORT double latitude() const; | |
29 BLINK_PLATFORM_EXPORT double longitude() const; | |
30 BLINK_PLATFORM_EXPORT double radius() const; | |
31 | |
32 private: | |
33 WebCircularRegionPrivate* privateData() const; | |
34 }; | |
35 | |
36 } // namespace blink | |
37 | |
38 #endif // WebCircularRegion_h | |
OLD | NEW |