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

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

Issue 2460173003: Revert "Allow selection change update before beginBatchEdit" on M54 (Closed)
Patch Set: Created 4 years, 2 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 770ed74d57d157a9dc847df5097ada4248e22456..98048d1b26f7ce91f37d69ed4443f1d9172fe5f6 100644
--- a/content/browser/renderer_host/ime_adapter_android.cc
+++ b/content/browser/renderer_host/ime_adapter_android.cc
@@ -289,26 +289,6 @@ bool ImeAdapterAndroid::RequestTextInputStateUpdate(
return true;
}
-bool ImeAdapterAndroid::BeginBatchEdit(
- JNIEnv* env,
- const JavaParamRef<jobject>&) {
- RenderWidgetHostImpl* rwhi = GetRenderWidgetHostImpl();
- if (!rwhi)
- return false;
- rwhi->Send(new InputMsg_ImeBatchEdit(rwhi->GetRoutingID(), true));
- return true;
-}
-
-bool ImeAdapterAndroid::EndBatchEdit(
- JNIEnv* env,
- const JavaParamRef<jobject>&) {
- RenderWidgetHostImpl* rwhi = GetRenderWidgetHostImpl();
- if (!rwhi)
- return false;
- rwhi->Send(new InputMsg_ImeBatchEdit(rwhi->GetRoutingID(), false));
- return true;
-}
-
void ImeAdapterAndroid::RequestCursorUpdate(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
« no previous file with comments | « content/browser/renderer_host/ime_adapter_android.h ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698