Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
| diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
| index 17b34eb542e63671df6b13eacc138b68f475534b..f84742fabde6afdc06de2cf7c74ea349a68ade7f 100644 |
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
| @@ -2302,9 +2302,10 @@ void RenderWidgetHostViewAura::OnUpdateTextInputStateCalled( |
| GetInputMethod()->OnTextInputTypeChanged(this); |
| const TextInputState* state = text_input_manager_->GetTextInputState(); |
| - if (state && state->show_ime_if_needed) |
| + if (state && state->show_ime_if_needed && |
| + GetInputMethod()->GetTextInputType() != ui::TEXT_INPUT_TYPE_NONE) { |
|
sadrul
2017/01/11 02:46:06
Two alternate options that I think would be better
afakhry
2017/01/11 17:50:49
Thank you very much for the detailed suggestions!
sadrul
2017/01/11 17:53:27
This is unexpected to me. RenderWidgetHostViewAura
afakhry
2017/01/11 18:36:00
Oops, sorry, I was looking at the *raw* pointer va
|
| GetInputMethod()->ShowImeIfNeeded(); |
| - |
| + } |
| if (state && state->type != ui::TEXT_INPUT_TYPE_NONE) { |
| // Start monitoring the composition information if the focused node is |