diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 01:16:46 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 01:16:46 +0000 |
commit | 09fb387aa28e997593d5d5c11cf4a5fb12258217 (patch) | |
tree | 18c92d7099ac4ca248ee5e2061aa3ea82b111eb7 /webkit/support/test_webplugin_page_delegate.h | |
parent | 06aca52af687c5d55794a56aa9e3d625ce6ea8ea (diff) | |
download | chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.zip chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.tar.gz chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.tar.bz2 |
Cleanup everything but net/ for our first clang plugins.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/6250088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/test_webplugin_page_delegate.h')
-rw-r--r-- | webkit/support/test_webplugin_page_delegate.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/webkit/support/test_webplugin_page_delegate.h b/webkit/support/test_webplugin_page_delegate.h index 1b4df88..035f335 100644 --- a/webkit/support/test_webplugin_page_delegate.h +++ b/webkit/support/test_webplugin_page_delegate.h @@ -19,12 +19,7 @@ class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate { virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( const FilePath& file_path, - const std::string& mime_type) { - // We don't need a valid native window handle in layout tests. - // So just passing 0. - return webkit::npapi::WebPluginDelegateImpl::Create( - file_path, mime_type, 0); - } + const std::string& mime_type); virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) {} virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) {} virtual void DidMovePlugin(const webkit::npapi::WebPluginGeometry& move) {} @@ -35,9 +30,7 @@ class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate { const gfx::Size& size, const std::string& json_arguments, std::string* json_retval) {} - virtual WebKit::WebCookieJar* GetCookieJar() { - return WebKit::webKitClient()->cookieJar(); - } + virtual WebKit::WebCookieJar* GetCookieJar(); }; } // namespace webkit_support |