From dc6262b587c71c14e30d93e57ed812e36a79a33e Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 24 Sep 2012 13:09:44 +0200 Subject: Imported WebKit commit 6339232fec7f5d9984a33388aecfd2cbc7832053 (http://svn.webkit.org/repository/webkit/trunk@129343) New snapshot with build fixes for latest qtbase --- Tools/WebKitTestRunner/TestController.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Tools/WebKitTestRunner/TestController.h') diff --git a/Tools/WebKitTestRunner/TestController.h b/Tools/WebKitTestRunner/TestController.h index 0d33717b7..8125a3646 100644 --- a/Tools/WebKitTestRunner/TestController.h +++ b/Tools/WebKitTestRunner/TestController.h @@ -27,6 +27,7 @@ #define TestController_h #include "WebNotificationProvider.h" +#include #include #include #include @@ -65,6 +66,11 @@ public: void simulateWebNotificationClick(uint64_t notificationID); + // Geolocation. + void setGeolocationPermission(bool enabled) { m_isGeolocationPermissionAllowed = enabled; } + bool isGeolocationPermissionAllowed() const { return m_isGeolocationPermissionAllowed; } + void setMockGeolocationPosition(double latitude, double longitude, double accuracy); + bool resetStateToConsistentValues(); private: @@ -123,6 +129,7 @@ private: OwnPtr m_mainWebView; WKRetainPtr m_context; WKRetainPtr m_pageGroup; + OwnPtr m_geolocationProvider; enum State { Initial, @@ -143,6 +150,8 @@ private: bool m_beforeUnloadReturnValue; + bool m_isGeolocationPermissionAllowed; + EventSenderProxy* m_eventSenderProxy; }; -- cgit v1.2.1