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

Side by Side Diff: webkit/tools/test_shell/webview_host.h

Issue 5998002: Revert "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
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_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "gfx/native_widget_types.h" 9 #include "gfx/native_widget_types.h"
10 #include "gfx/rect.h" 10 #include "gfx/rect.h"
11 #include "webkit/tools/test_shell/webwidget_host.h" 11 #include "webkit/tools/test_shell/webwidget_host.h"
12 12
13 #if defined(TOOLKIT_USES_GTK) 13 #if defined(TOOLKIT_USES_GTK)
14 #include "webkit/plugins/npapi/gtk_plugin_container_manager.h" 14 #include "webkit/glue/plugins/gtk_plugin_container_manager.h"
15 #endif 15 #endif
16 16
17 struct WebPreferences; 17 struct WebPreferences;
18 class TestWebViewDelegate; 18 class TestWebViewDelegate;
19 19
20 namespace WebKit { 20 namespace WebKit {
21 class WebDevToolsAgentClient; 21 class WebDevToolsAgentClient;
22 class WebView; 22 class WebView;
23 } 23 }
24 24
(...skipping 10 matching lines...) Expand all
35 35
36 WebKit::WebView* webview() const; 36 WebKit::WebView* webview() const;
37 37
38 #if defined(TOOLKIT_USES_GTK) 38 #if defined(TOOLKIT_USES_GTK)
39 // Create a new plugin parent container for a given plugin XID. 39 // Create a new plugin parent container for a given plugin XID.
40 void CreatePluginContainer(gfx::PluginWindowHandle id); 40 void CreatePluginContainer(gfx::PluginWindowHandle id);
41 41
42 // Destroy the plugin parent container when a plugin has been destroyed. 42 // Destroy the plugin parent container when a plugin has been destroyed.
43 void DestroyPluginContainer(gfx::PluginWindowHandle id); 43 void DestroyPluginContainer(gfx::PluginWindowHandle id);
44 44
45 webkit::npapi::GtkPluginContainerManager* plugin_container_manager() { 45 GtkPluginContainerManager* plugin_container_manager() {
46 return &plugin_container_manager_; 46 return &plugin_container_manager_;
47 } 47 }
48 #elif defined(OS_MACOSX) 48 #elif defined(OS_MACOSX)
49 void SetIsActive(bool active); 49 void SetIsActive(bool active);
50 #endif 50 #endif
51 51
52 protected: 52 protected:
53 #if defined(OS_WIN) 53 #if defined(OS_WIN)
54 virtual bool WndProc(UINT message, WPARAM wparam, LPARAM lparam) { 54 virtual bool WndProc(UINT message, WPARAM wparam, LPARAM lparam) {
55 return false; 55 return false;
56 } 56 }
57 #endif 57 #endif
58 58
59 #if defined(TOOLKIT_USES_GTK) 59 #if defined(TOOLKIT_USES_GTK)
60 // Helper class that creates and moves plugin containers. 60 // Helper class that creates and moves plugin containers.
61 webkit::npapi::GtkPluginContainerManager plugin_container_manager_; 61 GtkPluginContainerManager plugin_container_manager_;
62 #endif 62 #endif
63 }; 63 };
64 64
65 #endif // WEBKIT_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_ 65 #endif // WEBKIT_TOOLS_TEST_SHELL_WEBVIEW_HOST_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate_win.cc ('k') | webkit/tools/test_shell/webview_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698