Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 2353663004: Fix invalid suggestion window position on ChromeOS and Windwos. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d6717a6bd22b42789da1473a407259d9054067b3..b3abe7cd69a60b3db3078194ba0d16c93f2003e1 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -2972,9 +2972,11 @@ void RenderWidgetHostViewAura::OnUpdateTextInputStateCalled(
GetInputMethod()->OnTextInputTypeChanged(this);
const TextInputState* state = text_input_manager_->GetTextInputState();
- if (state && state->show_ime_if_needed &&
- state->type != ui::TEXT_INPUT_TYPE_NONE) {
+ if (state && state->show_ime_if_needed)
GetInputMethod()->ShowImeIfNeeded();
+
+
+ if (state && state->type != ui::TEXT_INPUT_TYPE_NONE) {
// Start monitoring the composition information if the focused node is
// editable.
RenderWidgetHostImpl* last_active_widget =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698