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

Unified Diff: content/browser/android/content_view_core_impl.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/android/content_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 49c85913fd8a33ed29abc733e9ba5ae8e1939687..5e012e29fa14d8bdd675b78e41dd281e2d8c6bed 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1257,8 +1257,7 @@ void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter,
int composition_start,
int composition_end,
bool show_ime_if_needed,
- bool is_non_ime_change,
- bool in_batch_edit_mode) {
+ bool is_non_ime_change) {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
if (obj.is_null())
@@ -1268,8 +1267,7 @@ void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter,
Java_ContentViewCore_updateImeAdapter(
env, obj, native_ime_adapter, text_input_type, text_input_flags,
jstring_text, selection_start, selection_end, composition_start,
- composition_end, show_ime_if_needed, is_non_ime_change,
- in_batch_edit_mode);
+ composition_end, show_ime_if_needed, is_non_ime_change);
}
void ContentViewCoreImpl::SetAccessibilityEnabled(
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | content/browser/renderer_host/ime_adapter_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698