| Index: content/browser/browser_plugin/browser_plugin_guest.h
|
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
|
| index d27083c165e9a0c2d2aee0ef688632bf4e362ccd..d4b71886f399e24ddccf808e72ea1dacf95bfce7 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.h
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.h
|
| @@ -45,6 +45,7 @@
|
| #include "ui/gfx/geometry/rect.h"
|
|
|
| struct BrowserPluginHostMsg_Attach_Params;
|
| +struct ViewHostMsg_TextInputState_Params;
|
|
|
| #if defined(OS_MACOSX)
|
| struct FrameHostMsg_ShowPopup_Params;
|
| @@ -69,7 +70,6 @@ class RenderWidgetHostView;
|
| class RenderWidgetHostViewBase;
|
| class SiteInstance;
|
| struct DropData;
|
| -struct TextInputState;
|
|
|
| // A browser plugin guest provides functionality for WebContents to operate in
|
| // the guest role and implements guest-specific overrides for ViewHostMsg_*
|
| @@ -332,7 +332,8 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost,
|
| void OnUnlockMouseAck(int instance_id);
|
| void OnUpdateGeometry(int instance_id, const gfx::Rect& view_rect);
|
|
|
| - void OnTextInputStateChanged(const TextInputState& params);
|
| + void OnTextInputStateChanged(
|
| + const ViewHostMsg_TextInputState_Params& params);
|
| void OnImeSetComposition(
|
| int instance_id,
|
| const std::string& text,
|
| @@ -425,9 +426,8 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost,
|
|
|
| // Text input type states.
|
| // Using scoped_ptr to avoid including the header file: view_messages.h.
|
| - // TODO(ekaramad): The text input state tracking is now done by the
|
| - // WebContentsImpl. We should remove this variable (crbug.com/602427).
|
| - std::unique_ptr<const TextInputState> last_text_input_state_;
|
| + std::unique_ptr<const ViewHostMsg_TextInputState_Params>
|
| + last_text_input_state_;
|
|
|
| // The is the routing ID for a swapped out RenderView for the guest
|
| // WebContents in the embedder's process.
|
|
|