| Index: Source/modules/geofencing/GeofencingRegion.h
|
| diff --git a/Source/modules/geofencing/GeofencingRegion.h b/Source/modules/geofencing/GeofencingRegion.h
|
| index 8161a0202b510711bffd0a4a783433b3203cb626..d41a8463b1105c59386949e2318333d15f4c4e86 100644
|
| --- a/Source/modules/geofencing/GeofencingRegion.h
|
| +++ b/Source/modules/geofencing/GeofencingRegion.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "platform/heap/Handle.h"
|
| +#include "public/platform/WebGeofencingRegion.h"
|
| +#include "public/platform/WebString.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
| @@ -16,15 +18,21 @@ class GeofencingRegion : public GarbageCollectedFinalized<GeofencingRegion>, pub
|
| public:
|
| virtual ~GeofencingRegion() { }
|
|
|
| - String id() const { return m_id; }
|
| + String id() const { return m_region.id(); }
|
| +
|
| + const WebGeofencingRegion& webRegion() const { return m_region; }
|
|
|
| virtual void trace(Visitor*) { }
|
|
|
| + static GeofencingRegion* createFromWebRegion(const WebGeofencingRegion&);
|
| +
|
| + // For SpecialWrapFor
|
| + bool isCircularRegion() const;
|
| +
|
| protected:
|
| - GeofencingRegion(const String& id) : m_id(id) { }
|
| + explicit GeofencingRegion(const WebGeofencingRegion& region) : m_region(region) { }
|
|
|
| -private:
|
| - String m_id;
|
| + const WebGeofencingRegion m_region;
|
| };
|
|
|
| } // namespace blink
|
|
|