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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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
« no previous file with comments | « webkit/support/test_webkit_client.cc ('k') | webkit/tools/test_shell/drop_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/plugins/npapi/webplugin_delegate_impl.h" 10 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
11 #include "webkit/plugins/npapi/webplugin_page_delegate.h" 11 #include "webkit/plugins/npapi/webplugin_page_delegate.h"
12 12
13 namespace webkit_support { 13 namespace webkit_support {
14 14
15 class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate { 15 class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate {
16 public: 16 public:
17 TestWebPluginPageDelegate() {} 17 TestWebPluginPageDelegate() {}
18 virtual ~TestWebPluginPageDelegate() {} 18 virtual ~TestWebPluginPageDelegate() {}
19 19
20 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 20 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
21 const FilePath& file_path, 21 const FilePath& file_path,
22 const std::string& mime_type); 22 const std::string& mime_type);
23 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) {} 23 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) {}
24 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) {} 24 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) {}
25 virtual void DidMovePlugin(const webkit::npapi::WebPluginGeometry& move) {} 25 virtual void DidMovePlugin(const webkit::npapi::WebPluginGeometry& move) {}
26 virtual void DidStartLoadingForPlugin() {} 26 virtual void DidStartLoadingForPlugin() {}
27 virtual void DidStopLoadingForPlugin() {} 27 virtual void DidStopLoadingForPlugin() {}
28 virtual void ShowModalHTMLDialogForPlugin(
29 const GURL& url,
30 const gfx::Size& size,
31 const std::string& json_arguments,
32 std::string* json_retval) {}
33 virtual WebKit::WebCookieJar* GetCookieJar(); 28 virtual WebKit::WebCookieJar* GetCookieJar();
34 }; 29 };
35 30
36 } // namespace webkit_support 31 } // namespace webkit_support
37 32
38 #endif // WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_ 33 #endif // WEBKIT_SUPPORT_TEST_WEBPLUGIN_PAGE_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_client.cc ('k') | webkit/tools/test_shell/drop_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698