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

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

Issue 2752113005: Let ImeAdapterAndroid have the same lifecycle as its Java peer (Closed)
Patch Set: comments Created 3 years, 9 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.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 867f969879b97f98c4a893bcfc23d9b12a14a721..802df65129b18e2e93d06db331aebee1d6550795 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -173,8 +173,6 @@ class ContentViewCoreImpl : public ContentViewCore,
const base::android::JavaParamRef<jobject>& obj,
jboolean enabled);
- long GetNativeImeAdapter(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& obj);
void SetFocus(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
jboolean focused);
@@ -267,9 +265,7 @@ class ContentViewCoreImpl : public ContentViewCore,
bool is_mobile_optimized_hint,
const gfx::SelectionBound& selection_start);
- void ForceUpdateImeAdapter(long native_ime_adapter);
- void UpdateImeAdapter(long native_ime_adapter,
- int text_input_type,
+ void UpdateImeAdapter(int text_input_type,
int text_input_flags,
int text_input_mode,
const std::string& text,

Powered by Google App Engine
This is Rietveld 408576698