diff options
Diffstat (limited to 'Tools/WebKitTestRunner/GeolocationProviderMock.h')
-rw-r--r-- | Tools/WebKitTestRunner/GeolocationProviderMock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/WebKitTestRunner/GeolocationProviderMock.h b/Tools/WebKitTestRunner/GeolocationProviderMock.h index ff5537e46..802223ec3 100644 --- a/Tools/WebKitTestRunner/GeolocationProviderMock.h +++ b/Tools/WebKitTestRunner/GeolocationProviderMock.h @@ -26,7 +26,7 @@ #ifndef GeolocationProviderMock_h #define GeolocationProviderMock_h -#include <WebKit2/WKRetainPtr.h> +#include <WebKit/WKRetainPtr.h> namespace WTR { @@ -41,6 +41,8 @@ public: void startUpdating(WKGeolocationManagerRef); void stopUpdating(WKGeolocationManagerRef); + bool isActive() const { return m_isActive; } + private: void sendPositionIfNeeded(); void sendErrorIfNeeded(); |