| Index: third_party/WebKit/Source/core/frame/FrameView.h
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
|
| index 672e6aabee48dc07c93b9669ad4a9f46460e2f48..bddc5229f24f56c833dbb797afd97dca7b80bcb2 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.h
|
| @@ -465,8 +465,6 @@ class CORE_EXPORT FrameView final
|
| }
|
| LayoutScrollbarPart* scrollCorner() const override { return m_scrollCorner; }
|
|
|
| - void updateScrollbars() override;
|
| -
|
| void positionScrollbarLayers();
|
|
|
| // Functions for setting and retrieving the scrolling mode in each axis
|
| @@ -774,7 +772,11 @@ class CORE_EXPORT FrameView final
|
| bool& newHasVerticalScrollbar,
|
| const IntSize& docSize,
|
| ComputeScrollbarExistenceOption = FirstPass) const;
|
| + void updateScrollbarGeometry();
|
|
|
| + // Called to update the scrollbars to accurately reflect the state of the
|
| + // view.
|
| + void updateScrollbars();
|
| void updateScrollbarsIfNeeded();
|
|
|
| class InUpdateScrollbarsScope {
|
| @@ -807,11 +809,6 @@ class CORE_EXPORT FrameView final
|
| // setHas*Scrollbar functions above.
|
| Scrollbar* createScrollbar(ScrollbarOrientation) override;
|
|
|
| - // Updates the scrollbar geometry given the size of the frame view rect.
|
| - void updateScrollbarGeometry(IntSize viewSize);
|
| -
|
| - ScrollableArea* scrollableArea() const;
|
| -
|
| protected:
|
| void destroyScrollbar(ScrollbarOrientation) override;
|
| };
|
| @@ -891,6 +888,10 @@ class CORE_EXPORT FrameView final
|
| static bool computeCompositedSelection(LocalFrame&, CompositedSelection&);
|
| void updateCompositedSelectionIfNeeded();
|
|
|
| + // Returns true if the FrameView's own scrollbars overlay its content when
|
| + // visible.
|
| + bool hasOverlayScrollbars() const;
|
| +
|
| // Returns true if the frame should use custom scrollbars. If true, one of
|
| // either |customScrollbarElement| or |customScrollbarFrame| will be set to
|
| // the element or frame which owns the scrollbar with the other set to null.
|
|
|