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

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

Issue 2355483006: Allow some InputConnection methods to be called on UI thread (Closed)
Patch Set: 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 7643bed0b29598d2f9677ed0bf35d4a53c0ca4f6..3f4de570b6895364fb2c1a4c237b25307584405f 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(
« 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