| OLD | NEW |
| 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_PLUGINS_NPAPI_GTK_PLUGIN_CONTAINER_MANAGER_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_GTK_PLUGIN_CONTAINER_MANAGER_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_GTK_PLUGIN_CONTAINER_MANAGER_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_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 "gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
| 12 | 12 |
| 13 typedef struct _GtkWidget GtkWidget; | 13 typedef struct _GtkWidget GtkWidget; |
| 14 | 14 |
| 15 namespace webkit { | 15 namespace webkit { |
| 16 namespace npapi { | 16 namespace npapi { |
| 17 | 17 |
| 18 struct WebPluginGeometry; | 18 struct WebPluginGeometry; |
| 19 | 19 |
| 20 // Helper class that creates and manages plugin containers (GtkSocket). | 20 // Helper class that creates and manages plugin containers (GtkSocket). |
| 21 class GtkPluginContainerManager { | 21 class GtkPluginContainerManager { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 | 52 |
| 53 // A map that associates plugin containers to the plugin XID. | 53 // A map that associates plugin containers to the plugin XID. |
| 54 typedef std::map<gfx::PluginWindowHandle, GtkWidget*> PluginWindowToWidgetMap; | 54 typedef std::map<gfx::PluginWindowHandle, GtkWidget*> PluginWindowToWidgetMap; |
| 55 PluginWindowToWidgetMap plugin_window_to_widget_map_; | 55 PluginWindowToWidgetMap plugin_window_to_widget_map_; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace npapi | 58 } // namespace npapi |
| 59 } // namespace webkit | 59 } // namespace webkit |
| 60 | 60 |
| 61 #endif // WEBKIT_PLUGINS_NPAPI_GTK_PLUGIN_CONTAINER_MANAGER_H_ | 61 #endif // WEBKIT_PLUGINS_NPAPI_GTK_PLUGIN_CONTAINER_MANAGER_H_ |
| OLD | NEW |