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

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

Issue 1278593004: Introduce ThreadedInputConnection behind a switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: content/browser/renderer_host/ime_adapter_android.cc
diff --git a/content/browser/renderer_host/ime_adapter_android.cc b/content/browser/renderer_host/ime_adapter_android.cc
index dbad05cf8b619b442eb549a56f6a87af8dce683e..3c82865013b0f4966929a645bf13fa7e750592a5 100644
--- a/content/browser/renderer_host/ime_adapter_android.cc
+++ b/content/browser/renderer_host/ime_adapter_android.cc
@@ -272,6 +272,14 @@ void ImeAdapterAndroid::DeleteSurroundingText(JNIEnv*, jobject,
rfh->ExtendSelectionAndDelete(before, after);
}
+void ImeAdapterAndroid::RequestTextInputStateUpdate(JNIEnv* env, jobject) {
+ RenderWidgetHostImpl* rwhi = GetRenderWidgetHostImpl();
+ if (!rwhi)
+ return;
aelias_OOO_until_Jul13 2015/09/30 00:10:03 You aren't sending a dummy on this return, so I su
Changwan Ryu 2016/01/19 07:31:52 Done.
+
+ rwhi->Send(new InputMsg_RequestTextInputStateUpdate(rwhi->GetRoutingID()));
+}
+
void ImeAdapterAndroid::ResetImeAdapter(JNIEnv* env, jobject) {
java_ime_adapter_.reset();
}

Powered by Google App Engine
This is Rietveld 408576698