| 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..b372902bd0698de885a314be3daa5977b5f45bc2 100644
 | 
| --- a/content/browser/android/content_view_core_impl.h
 | 
| +++ b/content/browser/android/content_view_core_impl.h
 | 
| @@ -49,6 +49,7 @@ class ContentViewCoreImpl : public ContentViewCore,
 | 
|        JNIEnv* env,
 | 
|        const base::android::JavaRef<jobject>& obj,
 | 
|        WebContents* web_contents,
 | 
| +      ImeAdapterAndroid* ime_adapter,
 | 
|        float dpi_scale,
 | 
|        const base::android::JavaRef<jobject>& java_bridge_retained_object_set);
 | 
|  
 | 
| @@ -173,8 +174,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 +266,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,
 | 
| @@ -333,6 +330,8 @@ class ContentViewCoreImpl : public ContentViewCore,
 | 
|    void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
 | 
|    void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event);
 | 
|  
 | 
| +  ImeAdapterAndroid* ime_adapter() { return ime_adapter_; }
 | 
| +
 | 
|    ui::ViewAndroid* GetViewAndroid() const;
 | 
|  
 | 
|   private:
 | 
| @@ -345,6 +344,7 @@ class ContentViewCoreImpl : public ContentViewCore,
 | 
|    void RenderViewReady() override;
 | 
|    void RenderViewHostChanged(RenderViewHost* old_host,
 | 
|                               RenderViewHost* new_host) override;
 | 
| +  void DidDetachInterstitialPage() override;
 | 
|    void WebContentsDestroyed() override;
 | 
|  
 | 
|    // --------------------------------------------------------------------------
 | 
| @@ -385,6 +385,8 @@ class ContentViewCoreImpl : public ContentViewCore,
 | 
|    // display in the ContentViewCore.
 | 
|    WebContentsImpl* web_contents_;
 | 
|  
 | 
| +  ImeAdapterAndroid* const ime_adapter_;
 | 
| +
 | 
|    // Page scale factor.
 | 
|    float page_scale_;
 | 
|  
 | 
| 
 |