Title: [95085] trunk/Tools
Revision
95085
Author
[email protected]
Date
2011-09-14 02:48:59 -0700 (Wed, 14 Sep 2011)

Log Message

[chromium] Remove obsolete WebViewClient methods from DumpRenderTree.
https://bugs.webkit.org/show_bug.cgi?id=68066

Reviewed by Adam Barth.

* DumpRenderTree/chromium/WebViewHost.cpp:
* DumpRenderTree/chromium/WebViewHost.h:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (95084 => 95085)


--- trunk/Tools/ChangeLog	2011-09-14 09:41:41 UTC (rev 95084)
+++ trunk/Tools/ChangeLog	2011-09-14 09:48:59 UTC (rev 95085)
@@ -1,3 +1,13 @@
+2011-09-14  Jochen Eisinger  <[email protected]>
+
+        [chromium] Remove obsolete WebViewClient methods from DumpRenderTree.
+        https://bugs.webkit.org/show_bug.cgi?id=68066
+
+        Reviewed by Adam Barth.
+
+        * DumpRenderTree/chromium/WebViewHost.cpp:
+        * DumpRenderTree/chromium/WebViewHost.h:
+
 2011-09-13  Ryosuke Niwa  <[email protected]>
 
         committers.py is missing some contributors

Modified: trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp (95084 => 95085)


--- trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp	2011-09-14 09:41:41 UTC (rev 95084)
+++ trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp	2011-09-14 09:48:59 UTC (rev 95085)
@@ -794,16 +794,6 @@
     return webkit_support::CreateApplicationCacheHost(frame, client);
 }
 
-bool WebViewHost::allowPlugins(WebFrame* frame, bool enabledPerSettings)
-{
-    return enabledPerSettings;
-}
-
-bool WebViewHost::allowImages(WebFrame* frame, bool enabledPerSettings)
-{
-    return enabledPerSettings;
-}
-
 void WebViewHost::loadURLExternally(WebFrame* frame, const WebURLRequest& request, WebNavigationPolicy policy)
 {
     loadURLExternally(frame, request, policy, WebString());
@@ -1146,11 +1136,6 @@
         fputs("didRunInsecureContent\n", stdout);
 }
 
-bool WebViewHost::allowScript(WebFrame*, bool enabledPerSettings)
-{
-    return enabledPerSettings;
-}
-
 void WebViewHost::openFileSystem(WebFrame* frame, WebFileSystem::Type type, long long size, bool create, WebFileSystemCallbacks* callbacks)
 {
     webkit_support::OpenFileSystem(frame, type, size, create, callbacks);

Modified: trunk/Tools/DumpRenderTree/chromium/WebViewHost.h (95084 => 95085)


--- trunk/Tools/DumpRenderTree/chromium/WebViewHost.h	2011-09-14 09:41:41 UTC (rev 95084)
+++ trunk/Tools/DumpRenderTree/chromium/WebViewHost.h	2011-09-14 09:48:59 UTC (rev 95085)
@@ -171,8 +171,6 @@
     virtual WebKit::WebWorker* createWorker(WebKit::WebFrame*, WebKit::WebWorkerClient*);
     virtual WebKit::WebMediaPlayer* createMediaPlayer(WebKit::WebFrame*, WebKit::WebMediaPlayerClient*);
     virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(WebKit::WebFrame*, WebKit::WebApplicationCacheHostClient*);
-     virtual bool allowPlugins(WebKit::WebFrame*, bool enabledPerSettings);
-    virtual bool allowImages(WebKit::WebFrame*, bool enabledPerSettings);
     virtual void loadURLExternally(WebKit::WebFrame*, const WebKit::WebURLRequest&, WebKit::WebNavigationPolicy);
     virtual void loadURLExternally(WebKit::WebFrame*, const WebKit::WebURLRequest&, WebKit::WebNavigationPolicy, const WebKit::WebString& downloadName);
     virtual WebKit::WebNavigationPolicy decidePolicyForNavigation(
@@ -208,7 +206,6 @@
     virtual void didFailResourceLoad(WebKit::WebFrame*, unsigned identifier, const WebKit::WebURLError&);
     virtual void didDisplayInsecureContent(WebKit::WebFrame*);
     virtual void didRunInsecureContent(WebKit::WebFrame*, const WebKit::WebSecurityOrigin&, const WebKit::WebURL&);
-    virtual bool allowScript(WebKit::WebFrame*, bool enabledPerSettings);
     virtual void openFileSystem(WebKit::WebFrame*, WebKit::WebFileSystem::Type, long long size, bool create, WebKit::WebFileSystemCallbacks*);
 
     WebKit::WebDeviceOrientationClientMock* deviceOrientationClientMock();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to