summaryrefslogtreecommitdiffstats
path: root/Tools/DumpRenderTree/chromium/WebViewHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/DumpRenderTree/chromium/WebViewHost.h')
-rw-r--r--Tools/DumpRenderTree/chromium/WebViewHost.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/Tools/DumpRenderTree/chromium/WebViewHost.h b/Tools/DumpRenderTree/chromium/WebViewHost.h
index 20b29c0..0a36aec 100644
--- a/Tools/DumpRenderTree/chromium/WebViewHost.h
+++ b/Tools/DumpRenderTree/chromium/WebViewHost.h
@@ -104,7 +104,7 @@ class WebViewHost : public WebKit::WebViewClient, public WebKit::WebFrameClient,
virtual bool navigate(const TestNavigationEntry&, bool reload);
// WebKit::WebViewClient
- virtual WebKit::WebView* createView(WebKit::WebFrame*, const WebKit::WebWindowFeatures&, const WebKit::WebString&);
+ virtual WebKit::WebView* createView(WebKit::WebFrame*, const WebKit::WebURLRequest&, const WebKit::WebWindowFeatures&, const WebKit::WebString&);
virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType);
virtual WebKit::WebWidget* createPopupMenu(const WebKit::WebPopupMenuInfo&);
virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(unsigned quota);
@@ -139,11 +139,7 @@ class WebViewHost : public WebKit::WebViewClient, public WebKit::WebFrameClient,
virtual int historyForwardListCount();
virtual void postAccessibilityNotification(const WebKit::WebAccessibilityObject&, WebKit::WebAccessibilityNotification);
virtual WebKit::WebNotificationPresenter* notificationPresenter();
-#if ENABLE(CLIENT_BASED_GEOLOCATION)
virtual WebKit::WebGeolocationClient* geolocationClient();
-#else
- virtual WebKit::WebGeolocationService* geolocationService();
-#endif
virtual WebKit::WebSpeechInputController* speechInputController(WebKit::WebSpeechInputListener*);
virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
@@ -210,10 +206,8 @@ class WebViewHost : public WebKit::WebViewClient, public WebKit::WebFrameClient,
WebKit::WebDeviceOrientationClientMock* deviceOrientationClientMock();
MockSpellCheck* mockSpellCheck();
-#if ENABLE(CLIENT_BASED_GEOLOCATION)
// Geolocation client mocks for LayoutTestController
WebKit::WebGeolocationClientMock* geolocationClientMock();
-#endif
private:
LayoutTestController* layoutTestController() const;
@@ -317,11 +311,7 @@ private:
OwnPtr<WebKit::WebContextMenuData> m_lastContextMenuData;
// Geolocation
-#if ENABLE(CLIENT_BASED_GEOLOCATION)
OwnPtr<WebKit::WebGeolocationClientMock> m_geolocationClientMock;
-#else
- OwnPtr<WebKit::WebGeolocationServiceMock> m_geolocationServiceMock;
-#endif
OwnPtr<WebKit::WebDeviceOrientationClientMock> m_deviceOrientationClientMock;
OwnPtr<WebKit::WebSpeechInputControllerMock> m_speechInputControllerMock;