diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-20 23:12:35 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-20 23:12:35 +0000 |
commit | e0e75f67163f77051d8f62d5275dbf40627d5398 (patch) | |
tree | 070d431dc290d9b9a69c79ceeb94ba7574ef1c31 /webkit/support/test_webplugin_page_delegate.h | |
parent | 3370e3b7ee18664a43a9977efeab2166624d0a32 (diff) | |
download | chromium_src-e0e75f67163f77051d8f62d5275dbf40627d5398.zip chromium_src-e0e75f67163f77051d8f62d5275dbf40627d5398.tar.gz chromium_src-e0e75f67163f77051d8f62d5275dbf40627d5398.tar.bz2 |
Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put
them in the webkit::npapi namespace.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6012002
TBR=brettw@chromium.org
Review URL: http://codereview.chromium.org/5961004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69766 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 | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/webkit/support/test_webplugin_page_delegate.h b/webkit/support/test_webplugin_page_delegate.h index 1b4df88..95f2b4a 100644 --- a/webkit/support/test_webplugin_page_delegate.h +++ b/webkit/support/test_webplugin_page_delegate.h @@ -7,27 +7,26 @@ #include <string> -#include "webkit/plugins/npapi/webplugin_delegate_impl.h" -#include "webkit/plugins/npapi/webplugin_page_delegate.h" +#include "webkit/glue/plugins/webplugin_delegate_impl.h" +#include "webkit/glue/plugins/webplugin_page_delegate.h" namespace webkit_support { -class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate { +class TestWebPluginPageDelegate : public webkit_glue::WebPluginPageDelegate { public: TestWebPluginPageDelegate() {} virtual ~TestWebPluginPageDelegate() {} - virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( + virtual webkit_glue::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); + return WebPluginDelegateImpl::Create(file_path, mime_type, 0); } virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) {} virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) {} - virtual void DidMovePlugin(const webkit::npapi::WebPluginGeometry& move) {} + virtual void DidMovePlugin(const webkit_glue::WebPluginGeometry& move) {} virtual void DidStartLoadingForPlugin() {} virtual void DidStopLoadingForPlugin() {} virtual void ShowModalHTMLDialogForPlugin( @@ -41,5 +40,4 @@ class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate { }; } // namespace webkit_support - #endif // WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_ |