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

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

Issue 2827263006: Revert "Refactor ContentViewClient (6/6)" (Closed)
Patch Set: Revert "Let ImeAdapterAndroid have the same lifecycle as its Java peer" 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/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 72930268976e052170e9a5dbdabea10b055597ff..79393db2a97564206f0dffd9e24880d78dbd962b 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -171,6 +171,8 @@ 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);
@@ -263,6 +265,19 @@ 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,
+ 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);
+
bool HasFocus();
void RequestDisallowInterceptTouchEvent();
void OnGestureEventAck(const blink::WebGestureEvent& event,
@@ -292,6 +307,8 @@ class ContentViewCoreImpl : public ContentViewCore,
// Returns the viewport size after accounting for the viewport offset.
gfx::Size GetViewSize() const;
+ gfx::Size GetViewSizeWithOSKHidden() const;
+
void SetAccessibilityEnabledInternal(bool enabled);
bool IsFullscreenRequiredForOrientationLock() const;
« 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