| Index: Source/web/WebViewImpl.h
|
| diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
|
| index 544e21fffe25f1ca93b0c4b8ba684f79e951a748..7d71bf5cb1c629e5fd0f816c081fafd7fd9f5782 100644
|
| --- a/Source/web/WebViewImpl.h
|
| +++ b/Source/web/WebViewImpl.h
|
| @@ -488,7 +488,10 @@ public:
|
|
|
| bool matchesHeuristicsForGpuRasterizationForTesting() const { return m_matchesHeuristicsForGpuRasterization; }
|
|
|
| + virtual void setTopControlsLayoutHeight(float) OVERRIDE;
|
| +
|
| private:
|
| + void didUpdateTopControls();
|
| void setTopControlsContentOffset(float);
|
|
|
| // TODO(bokan): Remains for legacy pinch. Remove once it's gone. Made private to
|
| @@ -720,7 +723,13 @@ private:
|
| float m_zoomFactorOverride;
|
|
|
| bool m_userGestureObserved;
|
| +
|
| + // The top controls offset since the last compositor commit.
|
| float m_topControlsContentOffset;
|
| +
|
| + // The top controls offset at the time of the last Resize event. This is the
|
| + // amount that the viewport was shrunk by to accomodate the top controls.
|
| + float m_topControlsLayoutHeight;
|
| };
|
|
|
| // We have no ways to check if the specified WebView is an instance of
|
|
|