Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: public/web/WebCircularRegion.h

Issue 393533002: Pass through the geofencing API calls to the content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@geofencing2
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698