| Index: ui/android/view_android.h
|
| diff --git a/ui/android/view_android.h b/ui/android/view_android.h
|
| index fbd3c452cd1bfc555b5e50c828b7d4f2ad255c22..b7caf111a08ee2752528677015771c7dc89439a3 100644
|
| --- a/ui/android/view_android.h
|
| +++ b/ui/android/view_android.h
|
| @@ -109,6 +109,7 @@ class UI_ANDROID_EXPORT ViewAndroid {
|
| // Used to return and set the layer for this view. May be |null|.
|
| cc::Layer* GetLayer() const;
|
| void SetLayer(scoped_refptr<cc::Layer> layer);
|
| + void UpdateLayerBounds();
|
|
|
| void SetDelegate(const base::android::JavaRef<jobject>& delegate);
|
|
|
| @@ -133,6 +134,8 @@ class UI_ANDROID_EXPORT ViewAndroid {
|
| bool StartDragAndDrop(const base::android::JavaRef<jstring>& jtext,
|
| const base::android::JavaRef<jobject>& jimage);
|
|
|
| + gfx::Size GetPhysicalBackingSize();
|
| + void OnPhysicalBackingSizeChanged(const gfx::Size& size);
|
| void OnBackgroundColorChanged(unsigned int color);
|
| void OnTopControlsChanged(float top_controls_offset,
|
| float top_content_offset);
|
| @@ -201,6 +204,8 @@ class UI_ANDROID_EXPORT ViewAndroid {
|
| // the passed events should be processed by the view.
|
| LayoutParams layout_params_;
|
|
|
| + gfx::Size physical_size_;
|
| +
|
| gfx::Vector2dF content_offset_; // in CSS pixel.
|
| std::unique_ptr<EventForwarder> event_forwarder_;
|
|
|
|
|