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; |