OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
Peter Beverloo
2014/07/14 17:23:09
This should be in public/platform/, as there is no
| |
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 "public/platform/WebGeofencingRegion.h" | |
9 | |
10 namespace WebCore { class CircularRegion; } | |
11 | |
12 namespace blink { | |
13 | |
14 class WebCircularRegion : public WebGeofencingRegion { | |
Michael van Ouwerkerk
2014/07/15 18:04:42
I think that if you make this a plain interface, C
| |
15 public: | |
16 WebCircularRegion() { } | |
17 WebCircularRegion(const WebCircularRegion& other) { assign(other); } | |
18 WebCircularRegion& operator=(const WebCircularRegion& other) | |
19 { | |
20 assign(other); | |
21 return *this; | |
22 } | |
23 | |
24 BLINK_EXPORT double latitude() const; | |
25 BLINK_EXPORT double longitude() const; | |
26 BLINK_EXPORT double radius() const; | |
27 | |
28 #if BLINK_IMPLEMENTATION | |
29 WebCircularRegion(WebCore::CircularRegion*); | |
Peter Beverloo
2014/07/14 17:23:09
This constructor should be marked as explicit.
| |
30 operator WebCore::CircularRegion*() const; | |
31 #endif | |
32 }; | |
33 | |
34 } // namespace blink | |
35 | |
36 #endif // WebCircularRegion_h | |
OLD | NEW |