Chromium Code Reviews

Side by Side Diff: webkit/glue/plugins/gtk_plugin_container_manager.h

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « webkit/default_plugin/plugin_impl_win.h ('k') | webkit/glue/plugins/plugin_instance.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_GLUE_PLUGINS_GTK_PLUGIN_CONTAINER_MANAGER_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_GTK_PLUGIN_CONTAINER_MANAGER_H_
6 #define WEBKIT_GLUE_PLUGINS_GTK_PLUGIN_CONTAINER_MANAGER_H_ 6 #define WEBKIT_GLUE_PLUGINS_GTK_PLUGIN_CONTAINER_MANAGER_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <map> 9 #include <map>
10 10
11 #include "base/gfx/native_widget_types.h" 11 #include "app/gfx/native_widget_types.h"
12 12
13 typedef struct _GtkWidget GtkWidget; 13 typedef struct _GtkWidget GtkWidget;
14 14
15 namespace webkit_glue { 15 namespace webkit_glue {
16 struct WebPluginGeometry; 16 struct WebPluginGeometry;
17 } 17 }
18 18
19 // Helper class that creates and manages plugin containers (GtkSocket). 19 // Helper class that creates and manages plugin containers (GtkSocket).
20 class GtkPluginContainerManager { 20 class GtkPluginContainerManager {
21 public: 21 public:
(...skipping 25 matching lines...)
47 47
48 // Parent of the plugin containers. 48 // Parent of the plugin containers.
49 GtkWidget* host_widget_; 49 GtkWidget* host_widget_;
50 50
51 // A map that associates plugin containers to the plugin XID. 51 // A map that associates plugin containers to the plugin XID.
52 typedef std::map<gfx::PluginWindowHandle, GtkWidget*> PluginWindowToWidgetMap; 52 typedef std::map<gfx::PluginWindowHandle, GtkWidget*> PluginWindowToWidgetMap;
53 PluginWindowToWidgetMap plugin_window_to_widget_map_; 53 PluginWindowToWidgetMap plugin_window_to_widget_map_;
54 }; 54 };
55 55
56 #endif // WEBKIT_GLUE_PLUGINS_GTK_PLUGIN_CONTAINER_MANAGER_H_ 56 #endif // WEBKIT_GLUE_PLUGINS_GTK_PLUGIN_CONTAINER_MANAGER_H_
OLDNEW
« no previous file with comments | « webkit/default_plugin/plugin_impl_win.h ('k') | webkit/glue/plugins/plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine