Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: webkit/support/test_webplugin_page_delegate.h

Issue 2262002: Add ppapi plugins to about:plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_ 5 #ifndef WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_
6 #define WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_ 6 #define WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "webkit/glue/plugins/webplugin_page_delegate.h" 10 #include "webkit/glue/plugins/webplugin_page_delegate.h"
11 11
12 namespace webkit_support { 12 namespace webkit_support {
13 13
14 class TestWebPluginPageDelegate : public webkit_glue::WebPluginPageDelegate { 14 class TestWebPluginPageDelegate : public webkit_glue::WebPluginPageDelegate {
15 public: 15 public:
16 TestWebPluginPageDelegate() {} 16 TestWebPluginPageDelegate() {}
17 virtual ~TestWebPluginPageDelegate() {} 17 virtual ~TestWebPluginPageDelegate() {}
18 18
19 virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate( 19 virtual webkit_glue::WebPluginDelegate* CreatePluginDelegate(
20 const GURL& url, 20 const FilePath& file_path,
21 const std::string& mime_type, 21 const std::string& mime_type) { return NULL; }
22 std::string* actual_mime_type) { return NULL; }
23 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) {} 22 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) {}
24 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) {} 23 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) {}
25 virtual void DidMovePlugin(const webkit_glue::WebPluginGeometry& move) {} 24 virtual void DidMovePlugin(const webkit_glue::WebPluginGeometry& move) {}
26 virtual void DidStartLoadingForPlugin() {} 25 virtual void DidStartLoadingForPlugin() {}
27 virtual void DidStopLoadingForPlugin() {} 26 virtual void DidStopLoadingForPlugin() {}
28 virtual void ShowModalHTMLDialogForPlugin( 27 virtual void ShowModalHTMLDialogForPlugin(
29 const GURL& url, 28 const GURL& url,
30 const gfx::Size& size, 29 const gfx::Size& size,
31 const std::string& json_arguments, 30 const std::string& json_arguments,
32 std::string* json_retval) {} 31 std::string* json_retval) {}
33 virtual WebKit::WebCookieJar* GetCookieJar() { return NULL; } 32 virtual WebKit::WebCookieJar* GetCookieJar() { return NULL; }
34 }; 33 };
35 34
36 } // namespace webkit_support 35 } // namespace webkit_support
37 #endif // WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_ 36 #endif // WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698