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

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

Issue 2309983002: Allow selection change update before beginBatchEdit (Closed)
Patch Set: fixed a test failure 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 a7f92639fa22c313db88252bc64615f8ebf06c4a..607b3bd9adf596c35efa7ecf37efaa1a469d870f 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1300,7 +1300,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())
@@ -1310,7 +1311,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(
« 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