Chromium Code Reviews| Index: content/renderer/npapi/webplugin_delegate_proxy.cc |
| diff --git a/content/renderer/npapi/webplugin_delegate_proxy.cc b/content/renderer/npapi/webplugin_delegate_proxy.cc |
| index 0ba60f240f116f9cdf4813f360643543a0640b78..59ef01ee12e7910eef53f0c5333b1344e1f119e2 100644 |
| --- a/content/renderer/npapi/webplugin_delegate_proxy.cc |
| +++ b/content/renderer/npapi/webplugin_delegate_proxy.cc |
| @@ -911,11 +911,12 @@ void WebPluginDelegateProxy::OnNotifyIMEStatus(int input_type, |
| if (!render_view_) |
| return; |
| - render_view_->Send(new ViewHostMsg_TextInputTypeChanged( |
| - render_view_->routing_id(), |
| - static_cast<ui::TextInputType>(input_type), |
| - ui::TEXT_INPUT_MODE_DEFAULT, |
| - true, 0)); |
| + ViewHostMsg_TextInputState_Params p; |
|
nasko
2015/07/29 17:41:07
nit: s/p/params/
Shu Chen
2015/07/30 00:47:22
Done.
|
| + p.type = static_cast<ui::TextInputType>(input_type); |
| + p.mode = ui::TEXT_INPUT_MODE_DEFAULT; |
| + p.can_compose_inline = true; |
| + render_view_->Send(new ViewHostMsg_TextInputStateChanged( |
| + render_view_->routing_id(), p)); |
| ViewHostMsg_SelectionBounds_Params bounds_params; |
| bounds_params.anchor_rect = bounds_params.focus_rect = caret_rect; |