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/tools/test_shell/webview_host_gtk.cc

Issue 5996003: Revert "Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/tools/test_shell/webview_host.h ('k') | no next file » | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include <gtk/gtk.h> 5 #include <gtk/gtk.h>
6 6
7 #include "webkit/tools/test_shell/webview_host.h" 7 #include "webkit/tools/test_shell/webview_host.h"
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "gfx/rect.h" 10 #include "gfx/rect.h"
11 #include "gfx/size.h" 11 #include "gfx/size.h"
12 #include "skia/ext/platform_canvas.h" 12 #include "skia/ext/platform_canvas.h"
13 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebView.h"
14 #include "webkit/glue/plugins/gtk_plugin_container.h"
15 #include "webkit/glue/webpreferences.h" 14 #include "webkit/glue/webpreferences.h"
15 #include "webkit/plugins/npapi/gtk_plugin_container.h"
16 #include "webkit/tools/test_shell/test_webview_delegate.h" 16 #include "webkit/tools/test_shell/test_webview_delegate.h"
17 17
18 using WebKit::WebDevToolsAgentClient; 18 using WebKit::WebDevToolsAgentClient;
19 using WebKit::WebView; 19 using WebKit::WebView;
20 20
21 // static 21 // static
22 WebViewHost* WebViewHost::Create(GtkWidget* parent_view, 22 WebViewHost* WebViewHost::Create(GtkWidget* parent_view,
23 TestWebViewDelegate* delegate, 23 TestWebViewDelegate* delegate,
24 WebDevToolsAgentClient* dev_tools_client, 24 WebDevToolsAgentClient* dev_tools_client,
25 const WebPreferences& prefs) { 25 const WebPreferences& prefs) {
(...skipping 14 matching lines...) Expand all
40 return static_cast<WebView*>(webwidget_); 40 return static_cast<WebView*>(webwidget_);
41 } 41 }
42 42
43 void WebViewHost::CreatePluginContainer(gfx::PluginWindowHandle id) { 43 void WebViewHost::CreatePluginContainer(gfx::PluginWindowHandle id) {
44 plugin_container_manager_.CreatePluginContainer(id); 44 plugin_container_manager_.CreatePluginContainer(id);
45 } 45 }
46 46
47 void WebViewHost::DestroyPluginContainer(gfx::PluginWindowHandle id) { 47 void WebViewHost::DestroyPluginContainer(gfx::PluginWindowHandle id) {
48 plugin_container_manager_.DestroyPluginContainer(id); 48 plugin_container_manager_.DestroyPluginContainer(id);
49 } 49 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/webview_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698