| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_ | |
| 6 #define WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" | |
| 11 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | |
| 12 | |
| 13 namespace webkit_support { | |
| 14 | |
| 15 class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate { | |
| 16 public: | |
| 17 TestWebPluginPageDelegate() {} | |
| 18 virtual ~TestWebPluginPageDelegate() {} | |
| 19 | |
| 20 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | |
| 21 const base::FilePath& file_path, | |
| 22 const std::string& mime_type) OVERRIDE; | |
| 23 virtual WebKit::WebPlugin* CreatePluginReplacement( | |
| 24 const base::FilePath& file_path) OVERRIDE; | |
| 25 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE {} | |
| 26 virtual void WillDestroyPluginWindow( | |
| 27 gfx::PluginWindowHandle handle) OVERRIDE {} | |
| 28 virtual void DidMovePlugin( | |
| 29 const webkit::npapi::WebPluginGeometry& move) OVERRIDE {} | |
| 30 virtual void DidStartLoadingForPlugin() OVERRIDE {} | |
| 31 virtual void DidStopLoadingForPlugin() OVERRIDE {} | |
| 32 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; | |
| 33 }; | |
| 34 | |
| 35 } // namespace webkit_support | |
| 36 | |
| 37 #endif // WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_ | |
| OLD | NEW |