Index: Source/modules/geolocation/GeofencingRegion.h |
diff --git a/Source/modules/geolocation/GeofencingRegion.h b/Source/modules/geolocation/GeofencingRegion.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2017a8e3535c4483e2c1185494651f28f05d6da8 |
--- /dev/null |
+++ b/Source/modules/geolocation/GeofencingRegion.h |
@@ -0,0 +1,32 @@ |
+// 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 GeofencingRegion_h |
+#define GeofencingRegion_h |
+ |
+#include "bindings/core/v8/ScriptWrappable.h" |
+#include "platform/heap/Handle.h" |
+#include "wtf/text/WTFString.h" |
+ |
+namespace WebCore { |
+ |
+class GeofencingRegion : public GarbageCollectedFinalized<GeofencingRegion>, public ScriptWrappable { |
jochen (gone - plz use gerrit)
2014/07/10 11:38:51
wtf_make_noncopyable?
Marijn Kruisselbrink
2014/07/10 12:36:00
Done.
|
+public: |
+ void trace(Visitor*) { } |
+ |
+ String id() const { return m_id; } |
+ |
+protected: |
+ GeofencingRegion() { } |
jochen (gone - plz use gerrit)
2014/07/10 11:38:51
also needs to call ScriptWrappable::init
Marijn Kruisselbrink
2014/07/10 12:36:00
Done.
|
+ GeofencingRegion(const String& id) : m_id(id) |
+ { |
+ ScriptWrappable::init(this); |
+ } |
+ |
+ String m_id; |
jochen (gone - plz use gerrit)
2014/07/10 11:38:51
private?
Marijn Kruisselbrink
2014/07/10 12:36:00
Done.
|
+}; |
+ |
+} // namespace WebCore |
+ |
+#endif |