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

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

Issue 1278593004: Introduce ThreadedInputConnection behind a switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unified ime tests, changed default values, fixed bugs, not wait for update if possible Created 4 years, 11 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
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 8b52e6b82c8d723bb996be39900b6bc717f75384..efabf7f5779c0a3c731125993d6ad044d37f7f5f 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -671,7 +671,7 @@ void RenderWidgetHostViewAndroid::TextInputStateChanged(
host_->Send(new InputMsg_ImeEventAck(host_->GetRoutingID()));
}
- if (!IsShowing())
+ if (!content_view_core_)
return;
content_view_core_->UpdateImeAdapter(
@@ -779,6 +779,7 @@ void RenderWidgetHostViewAndroid::ResetGestureDetection() {
void RenderWidgetHostViewAndroid::OnDidNavigateMainFrameToNewPage() {
ResetGestureDetection();
+ ime_adapter_android_.Unblock();
}
void RenderWidgetHostViewAndroid::SetDoubleTapSupportEnabled(bool enabled) {

Powered by Google App Engine
This is Rietveld 408576698