Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
index 3dbebffcc004b8b14126ffbf7d94bd82c6775ae7..38a974378f6b2f6a371837748ee07b4318ceca84 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
@@ -510,6 +510,12 @@ class CORE_EXPORT PaintLayerScrollableArea final |
int horizontalScrollbarStart(int minX) const; |
IntSize scrollbarOffset(const Scrollbar&) const; |
+ enum ComputeScrollbarExistenceOption { Default, ForbidAddingAutoBars }; |
+ void computeScrollbarExistence( |
+ bool& needsHorizontalScrollbar, |
+ bool& needsVerticalScrollbar, |
+ ComputeScrollbarExistenceOption = Default) const; |
+ |
void setHasHorizontalScrollbar(bool hasScrollbar); |
void setHasVerticalScrollbar(bool hasScrollbar); |