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 e6676f74d6de9c2fa2d292f07d6e0c978890a9aa..9158709ff86c3c1999fc2787b52032d64896ce94 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,7 +425,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost, |
// Text input type states. |
// Using scoped_ptr to avoid including the header file: view_messages.h. |
- scoped_ptr<const ViewHostMsg_TextInputState_Params> last_text_input_state_; |
+ scoped_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. |