| Index: chrome/browser/renderer_host/render_widget_host_view_gtk.h
|
| diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.h b/chrome/browser/renderer_host/render_widget_host_view_gtk.h
|
| index 3df3006b3177628a574d552558cac432545b37fe..dd8e58da799f72bfc3a684c55c8d60611a3f0013 100644
|
| --- a/chrome/browser/renderer_host/render_widget_host_view_gtk.h
|
| +++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.h
|
| @@ -12,13 +12,16 @@
|
| #include "chrome/browser/renderer_host/render_widget_host_view.h"
|
| #include "chrome/common/owned_widget_gtk.h"
|
| #include "chrome/common/render_messages.h"
|
| +#include "webkit/glue/plugins/gtk_plugin_container_host.h"
|
| #include "webkit/glue/webcursor.h"
|
|
|
| class RenderWidgetHost;
|
| +class GtkPluginContainerHost;
|
|
|
| typedef struct _GtkClipboard GtkClipboard;
|
| typedef struct _GtkSelectionData GtkSelectionData;
|
| typedef struct _GtkIMContext GtkIMContext;
|
| +typedef struct _GtkSocket GtkSocket;
|
|
|
| // -----------------------------------------------------------------------------
|
| // See comments in render_widget_host_view.h about this class and its members.
|
| @@ -59,6 +62,8 @@ class RenderWidgetHostViewGtk : public RenderWidgetHostView {
|
| virtual void PasteFromSelectionClipboard();
|
| virtual void ShowingContextMenu(bool showing);
|
| virtual BackingStore* AllocBackingStore(const gfx::Size& size);
|
| + virtual gfx::PluginWindowHandle CreatePluginContainer();
|
| + virtual void DestroyPluginContainer(gfx::PluginWindowHandle container);
|
|
|
| gfx::NativeView native_view() const { return view_.get(); }
|
|
|
| @@ -137,6 +142,9 @@ class RenderWidgetHostViewGtk : public RenderWidgetHostView {
|
| // This state is used when GtkIMContext signal handlers create Char events
|
| // because they don't use the GdkEventKey objects and cannot get the state.
|
| int im_modifier_state_;
|
| +
|
| + // Helper class that lets us allocate plugin containers and move them.
|
| + GtkPluginContainerHost plugin_container_host_;
|
| };
|
|
|
| #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
|
|
|