| Index: third_party/WebKit/Source/core/frame/VisualViewport.h
|
| diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.h b/third_party/WebKit/Source/core/frame/VisualViewport.h
|
| index 295c52a5ef9f2c88d69bd495aa220c02a8b0a980..a35e30242aad672a0cb7c778bd916b0999116fbb 100644
|
| --- a/third_party/WebKit/Source/core/frame/VisualViewport.h
|
| +++ b/third_party/WebKit/Source/core/frame/VisualViewport.h
|
| @@ -43,8 +43,8 @@
|
| #include <memory>
|
|
|
| namespace blink {
|
| -class WebLayerTreeView;
|
| class WebScrollbarLayer;
|
| +class WebLayer;
|
| }
|
|
|
| namespace blink {
|
| @@ -89,6 +89,14 @@ public:
|
| {
|
| return m_innerViewportScrollLayer.get();
|
| }
|
| + GraphicsLayer* pageScaleLayer()
|
| + {
|
| + return m_pageScaleLayer.get();
|
| + }
|
| + GraphicsLayer* overscrollElasticityLayer()
|
| + {
|
| + return m_overscrollElasticityLayer.get();
|
| + }
|
|
|
| void initializeScrollbars();
|
|
|
| @@ -124,8 +132,7 @@ public:
|
| // scale factor is left unchanged.
|
| bool magnifyScaleAroundAnchor(float magnifyDelta, const FloatPoint& anchor);
|
|
|
| - void registerLayersWithTreeView(WebLayerTreeView*) const;
|
| - void clearLayersForTreeView(WebLayerTreeView*) const;
|
| + void setScrollLayerOnScrollbars(WebLayer*) const;
|
|
|
| // The portion of the unzoomed frame visible in the visual viewport,
|
| // in partial CSS pixels. Relative to the main frame.
|
|
|