Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index a2463dd36d1e0719631abb759ea87315c340e9a9..004ea6f29d4c7a4083f38d47fdc718bd07253a53 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -461,8 +461,8 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) { |
IPC_MESSAGE_HANDLER(ViewHostMsg_Focus, OnFocus) |
IPC_MESSAGE_HANDLER(ViewHostMsg_Blur, OnBlur) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SetCursor, OnSetCursor) |
- IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputTypeChanged, |
- OnTextInputTypeChanged) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_TextInputStateChanged, |
+ OnTextInputStateChanged) |
IPC_MESSAGE_HANDLER(ViewHostMsg_LockMouse, OnLockMouse) |
IPC_MESSAGE_HANDLER(ViewHostMsg_UnlockMouse, OnUnlockMouse) |
IPC_MESSAGE_HANDLER(ViewHostMsg_ShowDisambiguationPopup, |
@@ -1604,13 +1604,10 @@ void RenderWidgetHostImpl::SetTouchEventEmulationEnabled( |
} |
} |
-void RenderWidgetHostImpl::OnTextInputTypeChanged( |
- ui::TextInputType type, |
- ui::TextInputMode input_mode, |
- bool can_compose_inline, |
- int flags) { |
+void RenderWidgetHostImpl::OnTextInputStateChanged( |
+ const ViewHostMsg_TextInputState_Params& params) { |
if (view_) |
- view_->TextInputTypeChanged(type, input_mode, can_compose_inline, flags); |
+ view_->TextInputStateChanged(params); |
} |
void RenderWidgetHostImpl::OnImeCompositionRangeChanged( |