| Index: Source/modules/geolocation/Geolocation.h
|
| diff --git a/Source/modules/geolocation/Geolocation.h b/Source/modules/geolocation/Geolocation.h
|
| index 21505eae29b9105bf6478c212173c18bc4342b85..557e794f9e5e8d2744562070fa4aa95ec0ea3d51 100644
|
| --- a/Source/modules/geolocation/Geolocation.h
|
| +++ b/Source/modules/geolocation/Geolocation.h
|
| @@ -27,6 +27,7 @@
|
| #ifndef Geolocation_h
|
| #define Geolocation_h
|
|
|
| +#include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/dom/ActiveDOMObject.h"
|
| #include "modules/geolocation/Geoposition.h"
|
| @@ -42,6 +43,7 @@ namespace WebCore {
|
| class Dictionary;
|
| class Document;
|
| class LocalFrame;
|
| +class GeofencingRegion;
|
| class GeolocationController;
|
| class GeolocationError;
|
| class GeolocationPosition;
|
| @@ -82,6 +84,10 @@ public:
|
| // Notifies this that an error has occurred, it must be handled immediately.
|
| void setError(GeolocationError*);
|
|
|
| + ScriptPromise registerRegion(ScriptState*, GeofencingRegion*);
|
| + ScriptPromise unregisterRegion(ScriptState*, const String& regionId);
|
| + ScriptPromise getRegisteredRegions(ScriptState*) const;
|
| +
|
| private:
|
| // Returns the last known position, if any. May return null.
|
| Geoposition* lastPosition();
|
|
|