Index: Source/platform/exported/WebCircularRegionPrivate.h |
diff --git a/Source/platform/exported/WebCircularRegionPrivate.h b/Source/platform/exported/WebCircularRegionPrivate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3ca80c90f200c426a94924128df00562be7edb97 |
--- /dev/null |
+++ b/Source/platform/exported/WebCircularRegionPrivate.h |
@@ -0,0 +1,30 @@ |
+// 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 WebCircularRegionPrivate_h |
+#define WebCircularRegionPrivate_h |
+ |
+#include "platform/exported/WebGeofencingRegionPrivate.h" |
+ |
+namespace blink { |
+ |
+class WebCircularRegionPrivate FINAL : public WebGeofencingRegionPrivate { |
+public: |
+ WebCircularRegionPrivate(const WebString& id, double latitude, double longitude, double radius) |
+ : WebGeofencingRegionPrivate(id) |
+ , latitude(latitude) |
+ , longitude(longitude) |
+ , radius(radius) |
+ { } |
+ |
+ const double latitude; |
+ const double longitude; |
+ const double radius; |
+ |
+ virtual WebGeofencingRegion::RegionType regionType() const OVERRIDE { return WebGeofencingRegion::CircularRegionType; } |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebCircularRegionPrivate_h |