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

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

Issue 2777223004: Migrate IME state update flow (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | content/browser/android/ime_adapter_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f8ad7357c8d0c075dc04e4cd5ae1f609f908460e..4d24e3e081cc0a16c36c5b142a25423c421be712 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1087,28 +1087,6 @@ void ContentViewCoreImpl::WasResized(JNIEnv* env,
SendScreenRectsAndResizeWidget();
}
-void ContentViewCoreImpl::UpdateImeAdapter(int text_input_type,
- int text_input_flags,
- int text_input_mode,
- const std::string& text,
- int selection_start,
- int selection_end,
- int composition_start,
- int composition_end,
- bool show_ime_if_needed,
- bool reply_to_request) {
- JNIEnv* env = AttachCurrentThread();
- ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
- if (obj.is_null())
- return;
-
- ScopedJavaLocalRef<jstring> jstring_text = ConvertUTF8ToJavaString(env, text);
- Java_ContentViewCore_updateImeAdapter(
- env, obj, text_input_type, text_input_flags, text_input_mode,
- jstring_text, selection_start, selection_end, composition_start,
- composition_end, show_ime_if_needed, reply_to_request);
-}
-
void ContentViewCoreImpl::SetAccessibilityEnabled(
JNIEnv* env,
const JavaParamRef<jobject>& obj,
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | content/browser/android/ime_adapter_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698