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

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

Issue 2791603002: Revert of Let ImeAdapterAndroid have the same lifecycle as its Java peer (Closed)
Patch Set: 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
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/content_view_core_impl.cc » ('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.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 802df65129b18e2e93d06db331aebee1d6550795..867f969879b97f98c4a893bcfc23d9b12a14a721 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -173,6 +173,8 @@
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);
@@ -265,7 +267,9 @@
bool is_mobile_optimized_hint,
const gfx::SelectionBound& selection_start);
- void UpdateImeAdapter(int text_input_type,
+ void ForceUpdateImeAdapter(long native_ime_adapter);
+ void UpdateImeAdapter(long native_ime_adapter,
+ int text_input_type,
int text_input_flags,
int text_input_mode,
const std::string& text,
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698