OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
8 reserved. | 8 reserved. |
9 | 9 |
10 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 } | 332 } |
333 | 333 |
334 enum ScrollingReasons { | 334 enum ScrollingReasons { |
335 Scrollable, | 335 Scrollable, |
336 NotScrollableNoOverflow, | 336 NotScrollableNoOverflow, |
337 NotScrollableNotVisible, | 337 NotScrollableNotVisible, |
338 NotScrollableExplicitlyDisabled | 338 NotScrollableExplicitlyDisabled |
339 }; | 339 }; |
340 | 340 |
341 ScrollingReasons getScrollingReasons() const; | 341 ScrollingReasons getScrollingReasons() const; |
342 bool isScrollable(); | 342 bool isScrollable() const override; |
343 bool isProgrammaticallyScrollable() override; | 343 bool isProgrammaticallyScrollable() override; |
344 | 344 |
345 enum ScrollbarModesCalculationStrategy { RulesFromWebContentOnly, AnyRule }; | 345 enum ScrollbarModesCalculationStrategy { RulesFromWebContentOnly, AnyRule }; |
346 void calculateScrollbarModes( | 346 void calculateScrollbarModes( |
347 ScrollbarMode& hMode, | 347 ScrollbarMode& hMode, |
348 ScrollbarMode& vMode, | 348 ScrollbarMode& vMode, |
349 ScrollbarModesCalculationStrategy = AnyRule) const; | 349 ScrollbarModesCalculationStrategy = AnyRule) const; |
350 | 350 |
351 IntPoint lastKnownMousePosition() const override; | 351 IntPoint lastKnownMousePosition() const override; |
352 bool shouldSetCursor() const; | 352 bool shouldSetCursor() const; |
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 widget.isFrameView()); | 1241 widget.isFrameView()); |
1242 DEFINE_TYPE_CASTS(FrameView, | 1242 DEFINE_TYPE_CASTS(FrameView, |
1243 ScrollableArea, | 1243 ScrollableArea, |
1244 scrollableArea, | 1244 scrollableArea, |
1245 scrollableArea->isFrameView(), | 1245 scrollableArea->isFrameView(), |
1246 scrollableArea.isFrameView()); | 1246 scrollableArea.isFrameView()); |
1247 | 1247 |
1248 } // namespace blink | 1248 } // namespace blink |
1249 | 1249 |
1250 #endif // FrameView_h | 1250 #endif // FrameView_h |
OLD | NEW |