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

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

Issue 2476883003: Revert of Allow selection change update before beginBatchEdit (Closed)
Patch Set: fixed build 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/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 0f5d419a87c7b863b17b0fc74baef04ffbead5c3..095c109400ad46906ea294abf9506f2355ef254c 100644
--- a/content/browser/renderer_host/ime_adapter_android.cc
+++ b/content/browser/renderer_host/ime_adapter_android.cc
@@ -298,26 +298,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