| 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 387d4a5cc26697eaa23a9dd7e73aefed84a2bda7..f7a1db26a413295de8b5c3d4ba4251601520e263 100644
|
| --- a/content/browser/android/content_view_core_impl.h
|
| +++ b/content/browser/android/content_view_core_impl.h
|
| @@ -56,6 +56,7 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| WebContents* web_contents,
|
| const base::android::JavaRef<jobject>& view_android_delegate,
|
| ui::WindowAndroid* window_android,
|
| + float dpi_scale,
|
| const base::android::JavaRef<jobject>& java_bridge_retained_object_set);
|
|
|
| // ContentViewCore implementation.
|
| @@ -224,6 +225,10 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| const base::android::JavaParamRef<jobject>& obj,
|
| jboolean focused);
|
|
|
| + void SetDIPScale(JNIEnv* env,
|
| + const base::android::JavaParamRef<jobject>& obj,
|
| + jfloat dipScale);
|
| +
|
| jint GetBackgroundColor(JNIEnv* env, jobject obj);
|
| void SetAllowJavascriptInterfacesInspection(
|
| JNIEnv* env,
|
| @@ -415,6 +420,7 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| // --------------------------------------------------------------------------
|
|
|
| void InitWebContents();
|
| + void SendScreenRectsAndResizeWidget();
|
|
|
| RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid() const;
|
|
|
| @@ -453,7 +459,7 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| float page_scale_;
|
|
|
| // Device scale factor.
|
| - const float dpi_scale_;
|
| + float dpi_scale_;
|
|
|
| // Observer to notify of lifecyle changes.
|
| base::ObserverList<ContentViewCoreImplObserver> observer_list_;
|
|
|