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 a763430adef12f73dc1a84cbed9a2b06692a6309..bb27e539d850002e674b6d0b5cf57fd65ce32d64 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest.h |
@@ -45,7 +45,6 @@ |
#include "ui/gfx/geometry/rect.h" |
struct BrowserPluginHostMsg_Attach_Params; |
-struct ViewHostMsg_TextInputState_Params; |
#if defined(OS_MACOSX) |
struct FrameHostMsg_ShowPopup_Params; |
@@ -70,6 +69,7 @@ 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,8 +332,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost, |
void OnUnlockMouseAck(int instance_id); |
void OnUpdateGeometry(int instance_id, const gfx::Rect& view_rect); |
- void OnTextInputStateChanged( |
- const ViewHostMsg_TextInputState_Params& params); |
+ void OnTextInputStateChanged(const TextInputState& params); |
void OnImeSetComposition( |
int instance_id, |
const std::string& text, |
@@ -426,8 +425,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost, |
// Text input type states. |
// Using scoped_ptr to avoid including the header file: view_messages.h. |
- std::unique_ptr<const ViewHostMsg_TextInputState_Params> |
- last_text_input_state_; |
+ std::unique_ptr<const TextInputState> last_text_input_state_; |
// The is the routing ID for a swapped out RenderView for the guest |
// WebContents in the embedder's process. |