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

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

Issue 2354793003: Browser Side TextInputState Tracking for Android (Closed)
Patch Set: Addressing kenrb@'s comments Created 4 years, 1 month 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
Index: content/browser/renderer_host/render_widget_host_view_base.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
index 23ebf837e36bbab83b0fdaa1ec25c9eba43e486f..16d62127315f46617a3eddf1573e16c8dce5de3d 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.cc
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc
@@ -465,11 +465,8 @@ bool RenderWidgetHostViewBase::IsRenderWidgetHostViewChildFrame() {
void RenderWidgetHostViewBase::TextInputStateChanged(
const TextInputState& text_input_state) {
-// TODO(ekaramad): Use TextInputManager code paths for IME on other platforms.
-#if !defined(OS_ANDROID)
if (GetTextInputManager())
GetTextInputManager()->UpdateTextInputState(this, text_input_state);
-#endif
}
void RenderWidgetHostViewBase::ImeCancelComposition() {

Powered by Google App Engine
This is Rietveld 408576698