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

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

Issue 464073002: Pass through geofencing API calls to the content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 4 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.
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698