Index: Source/core/frame/FrameView.h |
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
index f2e56f68f001f9a35704c170439738442bf3cef0..7772cf48390b79481e2018d47522c8942960e028 100644 |
--- a/Source/core/frame/FrameView.h |
+++ b/Source/core/frame/FrameView.h |
@@ -246,6 +246,14 @@ public: |
bool isFrameViewScrollCorner(RenderScrollbarPart* scrollCorner) const { return m_scrollCorner == scrollCorner; } |
+ enum ScrollingReasons { |
+ Scrollable, |
+ NotScrollableNoOverflow, |
+ NotScrollableNotVisible, |
+ NotScrollableExplicitlyDisabled |
+ }; |
+ |
+ ScrollingReasons scrollingReasons(); |
bool isScrollable(); |
enum ScrollbarModesCalculationStrategy { RulesFromWebContentOnly, AnyRule }; |