| Index: third_party/WebKit/Source/web/WebViewImpl.h
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
|
| index a428bd4d4f0944c636d32bb8f4f0e7e1e809523b..95f014f7613db71e5c96d831627b451996b67da6 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.h
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.h
|
| @@ -177,6 +177,10 @@ public:
|
| void setDomainRelaxationForbidden(bool, const WebString& scheme) override;
|
| void setWindowFeatures(const WebWindowFeatures&) override;
|
| void setOpenedByDOM() override;
|
| + void resizeWithTopControls(
|
| + const WebSize&,
|
| + float topControlsHeight,
|
| + bool topControlsShrinkLayout) override;
|
| WebFrame* mainFrame() override;
|
| WebFrame* findFrameByName(
|
| const WebString& name, WebFrame* relativeToFrame) override;
|
| @@ -501,7 +505,6 @@ public:
|
|
|
| bool matchesHeuristicsForGpuRasterizationForTesting() const { return m_matchesHeuristicsForGpuRasterization; }
|
|
|
| - void setTopControlsHeight(float height, bool topControlsShrinkLayoutSize) override;
|
| void updateTopControlsState(WebTopControlsState constraint, WebTopControlsState current, bool animate) override;
|
|
|
| TopControls& topControls();
|
| @@ -545,7 +548,7 @@ private:
|
| IntSize contentsSize() const;
|
|
|
| void performResize();
|
| - void resizeViewWhileAnchored(FrameView*);
|
| + void resizeViewWhileAnchored(FrameView*, float topControlsHeight, bool topControlsShrinkLayout);
|
|
|
| friend class WebView; // So WebView::Create can call our constructor
|
| friend class WTF::RefCounted<WebViewImpl>;
|
|
|