Changeset 95085 in webkit


Ignore:
Timestamp:
Sep 14, 2011 2:48:59 AM (13 years ago)
Author:
jochen@chromium.org
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:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r95078 r95085  
     12011-09-14  Jochen Eisinger  <jochen@chromium.org>
     2
     3        [chromium] Remove obsolete WebViewClient methods from DumpRenderTree.
     4        https://bugs.webkit.org/show_bug.cgi?id=68066
     5
     6        Reviewed by Adam Barth.
     7
     8        * DumpRenderTree/chromium/WebViewHost.cpp:
     9        * DumpRenderTree/chromium/WebViewHost.h:
     10
    1112011-09-13  Ryosuke Niwa  <rniwa@webkit.org>
    212
  • trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp

    r94105 r95085  
    795795}
    796796
    797 bool WebViewHost::allowPlugins(WebFrame* frame, bool enabledPerSettings)
    798 {
    799     return enabledPerSettings;
    800 }
    801 
    802 bool WebViewHost::allowImages(WebFrame* frame, bool enabledPerSettings)
    803 {
    804     return enabledPerSettings;
    805 }
    806 
    807797void WebViewHost::loadURLExternally(WebFrame* frame, const WebURLRequest& request, WebNavigationPolicy policy)
    808798{
     
    11451135    if (m_shell->shouldDumpFrameLoadCallbacks())
    11461136        fputs("didRunInsecureContent\n", stdout);
    1147 }
    1148 
    1149 bool WebViewHost::allowScript(WebFrame*, bool enabledPerSettings)
    1150 {
    1151     return enabledPerSettings;
    11521137}
    11531138
  • trunk/Tools/DumpRenderTree/chromium/WebViewHost.h

    r91797 r95085  
    172172    virtual WebKit::WebMediaPlayer* createMediaPlayer(WebKit::WebFrame*, WebKit::WebMediaPlayerClient*);
    173173    virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(WebKit::WebFrame*, WebKit::WebApplicationCacheHostClient*);
    174      virtual bool allowPlugins(WebKit::WebFrame*, bool enabledPerSettings);
    175     virtual bool allowImages(WebKit::WebFrame*, bool enabledPerSettings);
    176174    virtual void loadURLExternally(WebKit::WebFrame*, const WebKit::WebURLRequest&, WebKit::WebNavigationPolicy);
    177175    virtual void loadURLExternally(WebKit::WebFrame*, const WebKit::WebURLRequest&, WebKit::WebNavigationPolicy, const WebKit::WebString& downloadName);
     
    209207    virtual void didDisplayInsecureContent(WebKit::WebFrame*);
    210208    virtual void didRunInsecureContent(WebKit::WebFrame*, const WebKit::WebSecurityOrigin&, const WebKit::WebURL&);
    211     virtual bool allowScript(WebKit::WebFrame*, bool enabledPerSettings);
    212209    virtual void openFileSystem(WebKit::WebFrame*, WebKit::WebFileSystem::Type, long long size, bool create, WebKit::WebFileSystemCallbacks*);
    213210
Note: See TracChangeset for help on using the changeset viewer.