Index: public/platform/WebCircularRegion.h |
diff --git a/public/platform/WebCircularRegion.h b/public/platform/WebCircularRegion.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..47ca77d23027b1717630412072e4c4545e76bdf9 |
--- /dev/null |
+++ b/public/platform/WebCircularRegion.h |
@@ -0,0 +1,38 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebCircularRegion_h |
+#define WebCircularRegion_h |
+ |
+#include "WebCommon.h" |
+#include "WebGeofencingRegion.h" |
+#include "WebPrivatePtr.h" |
+ |
+namespace blink { |
+ |
+class WebCircularRegionPrivate; |
+ |
+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.
|
+public: |
+ WebCircularRegion() { } |
+ WebCircularRegion(const WebCircularRegion& other) { assign(other); } |
+ WebCircularRegion& operator=(const WebCircularRegion& other) |
+ { |
+ assign(other); |
+ return *this; |
+ } |
+ |
+ BLINK_PLATFORM_EXPORT static WebCircularRegion create(const WebString& id, double latitude, double longitude, double radius); |
+ |
+ BLINK_PLATFORM_EXPORT double latitude() const; |
+ BLINK_PLATFORM_EXPORT double longitude() const; |
+ BLINK_PLATFORM_EXPORT double radius() const; |
+ |
+private: |
+ WebCircularRegionPrivate* privateData() const; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebCircularRegion_h |