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

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 2309983002: Allow selection change update before beginBatchEdit (Closed)
Patch Set: polish up a bit Created 4 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/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 e627fcd7611712cccc0a78f09b97a433a233f072..1193157af50b79090666d144e6b17f903c37e315 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1301,7 +1301,8 @@ void ContentViewCoreImpl::UpdateImeAdapter(long native_ime_adapter,
int composition_start,
int composition_end,
bool show_ime_if_needed,
- bool is_non_ime_change) {
+ bool is_non_ime_change,
+ bool in_batch_edit_mode) {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
if (obj.is_null())
@@ -1311,7 +1312,8 @@ 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);
+ composition_end, show_ime_if_needed, is_non_ime_change,
+ in_batch_edit_mode);
}
void ContentViewCoreImpl::SetAccessibilityEnabled(

Powered by Google App Engine
This is Rietveld 408576698