| Index: content/renderer/render_widget.h
|
| diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
|
| index 605b92ef67f443970001d930882b54f883883913..7d3d68cf59fe95e014c3ac80662a922dcbfe7dc5 100644
|
| --- a/content/renderer/render_widget.h
|
| +++ b/content/renderer/render_widget.h
|
| @@ -85,6 +85,7 @@ class CompositorDependencies;
|
| class ExternalPopupMenu;
|
| class FrameSwapMessageQueue;
|
| class ImeEventGuard;
|
| +class PepperPluginInstanceImpl;
|
| class RenderFrameImpl;
|
| class RenderFrameProxy;
|
| class RenderWidgetCompositor;
|
| @@ -368,6 +369,10 @@ class CONTENT_EXPORT RenderWidget
|
| return mouse_lock_dispatcher_.get();
|
| }
|
|
|
| + void set_focused_pepper_plugin(PepperPluginInstanceImpl* plugin) {
|
| + focused_pepper_plugin_ = plugin;
|
| + }
|
| +
|
| protected:
|
| // Friend RefCounted so that the dtor can be non-public. Using this class
|
| // without ref-counting is an error.
|
| @@ -772,6 +777,10 @@ class CONTENT_EXPORT RenderWidget
|
| // Indicates whether this widget has focus.
|
| bool has_focus_;
|
|
|
| + // This reference is set by the RenderFrame and is used to query the IME-
|
| + // related state from the plugin to later send to the browser.
|
| + PepperPluginInstanceImpl* focused_pepper_plugin_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RenderWidget);
|
| };
|
|
|
|
|