diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-28 14:55:53 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-28 14:55:53 +0000 |
commit | 4e0616edf0c949858b67859b6f27a0c573425988 (patch) | |
tree | 5ca36e9ca74c06a96d0c37fd0957091b9bf10408 /webkit/support/test_webplugin_page_delegate.h | |
parent | 0298a21bc8ad80bd7b1cb09ce6d5711e5f698348 (diff) | |
download | chromium_src-4e0616edf0c949858b67859b6f27a0c573425988.zip chromium_src-4e0616edf0c949858b67859b6f27a0c573425988.tar.gz chromium_src-4e0616edf0c949858b67859b6f27a0c573425988.tar.bz2 |
Add ppapi plugins to about:plugins
Querying the plugin path and actual mime type is moved from creation of the
WebPluginDelegate to creation of the WebPlugin. This cleaned up some code.
R=jam
BUG=45289
TEST=none
Review URL: http://codereview.chromium.org/2262002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48484 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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/support/test_webplugin_page_delegate.h b/webkit/support/test_webplugin_page_delegate.h index d3f49a6..fe61032 100644 --- a/webkit/support/test_webplugin_page_delegate.h +++ b/webkit/support/test_webplugin_page_delegate.h @@ -17,9 +17,8 @@ class TestWebPluginPageDelegate : public webkit_glue::WebPluginPageDelegate { virtual ~TestWebPluginPageDelegate() {} virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate( - const GURL& url, - const std::string& mime_type, - std::string* actual_mime_type) { return NULL; } + const FilePath& file_path, + const std::string& mime_type) { return NULL; } virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) {} virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) {} virtual void DidMovePlugin(const webkit_glue::WebPluginGeometry& move) {} |