Index: public/platform/WebCircularGeofencingRegion.h |
diff --git a/public/platform/WebCircularGeofencingRegion.h b/public/platform/WebCircularGeofencingRegion.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d3c4ac880a708861d0f5e1e4507a735744a4d0cc |
--- /dev/null |
+++ b/public/platform/WebCircularGeofencingRegion.h |
@@ -0,0 +1,29 @@ |
+// 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 WebCircularGeofencingRegion_h |
+#define WebCircularGeofencingRegion_h |
+ |
+#include "WebCommon.h" |
+#include "WebString.h" |
+ |
+namespace blink { |
+ |
+struct WebCircularGeofencingRegion { |
+ WebString id; |
jochen (gone - plz use gerrit)
2014/09/04 11:14:54
i wouldn't put the ID in the region (the IDL doesn
Marijn Kruisselbrink
2014/09/04 17:44:19
The IDL does have the ID in the region. In fact th
jochen (gone - plz use gerrit)
2014/09/05 14:08:29
I'm sorry, I guess I should first read up on this
Marijn Kruisselbrink
2014/09/05 18:32:09
I now changed the blink<->content API to not have
|
+ double latitude; |
+ double longitude; |
+ double radius; |
+ |
+ WebCircularGeofencingRegion() |
+ : latitude(0) |
+ , longitude(0) |
+ , radius(0) |
+ { |
+ } |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebCircularGeofencingRegion_h |