| Index: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
|
| index c0b5681bc976afb314018a04d18c7d06d1c0bfc3..58cc5e76d27aec242552e9c05f23a88df192714e 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "core/CoreExport.h"
|
| #include "core/page/scrolling/RootScrollerController.h"
|
| +#include "platform/geometry/IntSize.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
| @@ -66,6 +67,16 @@ class CORE_EXPORT TopDocumentRootScrollerController
|
|
|
| void mainFrameViewResized();
|
|
|
| + // Returns the ScrollableArea associated with the globalRootScroller(). Note,
|
| + // this isn't necessarily the PLSA belonging to the root scroller Element's
|
| + // LayoutBox. If the root scroller is the documentElement then we use the
|
| + // FrameView (or LayoutView if root-layer-scrolls).
|
| + ScrollableArea* rootScrollerArea() const;
|
| +
|
| + // Returns the size we should use for the root scroller, accounting for top
|
| + // controls adjustment and using the root FrameView.
|
| + IntSize rootScrollerVisibleArea() const;
|
| +
|
| private:
|
| TopDocumentRootScrollerController(FrameHost&);
|
|
|
|
|