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 d70d4969d2ed28d4e424fb372cd512d94019e2a7..662f660dbedfabae5445235b331acf29ffcf3f21 100644 |
--- a/content/browser/renderer_host/ime_adapter_android.cc |
+++ b/content/browser/renderer_host/ime_adapter_android.cc |
@@ -289,6 +289,16 @@ void ImeAdapterAndroid::DeleteSurroundingText(JNIEnv*, |
rfh->ExtendSelectionAndDelete(before, after); |
} |
+bool ImeAdapterAndroid::RequestTextInputStateUpdate( |
+ JNIEnv* env, |
+ const JavaParamRef<jobject>&) { |
+ RenderWidgetHostImpl* rwhi = GetRenderWidgetHostImpl(); |
+ if (!rwhi) |
+ return false; |
+ rwhi->Send(new InputMsg_RequestTextInputStateUpdate(rwhi->GetRoutingID())); |
+ return true; |
+} |
+ |
void ImeAdapterAndroid::ResetImeAdapter(JNIEnv* env, |
const JavaParamRef<jobject>&) { |
java_ime_adapter_.reset(); |