OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 int scrollSize(ScrollbarOrientation) const override; | 273 int scrollSize(ScrollbarOrientation) const override; |
274 IntSize scrollOffsetInt() const override; | 274 IntSize scrollOffsetInt() const override; |
275 ScrollOffset getScrollOffset() const override; | 275 ScrollOffset getScrollOffset() const override; |
276 IntSize minimumScrollOffsetInt() const override; | 276 IntSize minimumScrollOffsetInt() const override; |
277 IntSize maximumScrollOffsetInt() const override; | 277 IntSize maximumScrollOffsetInt() const override; |
278 IntRect visibleContentRect( | 278 IntRect visibleContentRect( |
279 IncludeScrollbarsInRect = ExcludeScrollbars) const override; | 279 IncludeScrollbarsInRect = ExcludeScrollbars) const override; |
280 int visibleHeight() const override; | 280 int visibleHeight() const override; |
281 int visibleWidth() const override; | 281 int visibleWidth() const override; |
282 IntSize contentsSize() const override; | 282 IntSize contentsSize() const override; |
| 283 bool isScrollable() const override; |
283 IntPoint lastKnownMousePosition() const override; | 284 IntPoint lastKnownMousePosition() const override; |
284 bool scrollAnimatorEnabled() const override; | 285 bool scrollAnimatorEnabled() const override; |
285 bool shouldSuspendScrollAnimations() const override; | 286 bool shouldSuspendScrollAnimations() const override; |
286 bool scrollbarsCanBeActive() const override; | 287 bool scrollbarsCanBeActive() const override; |
287 void scrollbarVisibilityChanged() override; | 288 void scrollbarVisibilityChanged() override; |
288 IntRect scrollableAreaBoundingBox() const override; | 289 IntRect scrollableAreaBoundingBox() const override; |
289 void registerForAnimation() override; | 290 void registerForAnimation() override; |
290 void deregisterForAnimation() override; | 291 void deregisterForAnimation() override; |
291 bool userInputScrollable(ScrollbarOrientation) const override; | 292 bool userInputScrollable(ScrollbarOrientation) const override; |
292 bool shouldPlaceVerticalScrollbarOnLeft() const override; | 293 bool shouldPlaceVerticalScrollbarOnLeft() const override; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 | 598 |
598 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 599 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
599 ScrollableArea, | 600 ScrollableArea, |
600 scrollableArea, | 601 scrollableArea, |
601 scrollableArea->isPaintLayerScrollableArea(), | 602 scrollableArea->isPaintLayerScrollableArea(), |
602 scrollableArea.isPaintLayerScrollableArea()); | 603 scrollableArea.isPaintLayerScrollableArea()); |
603 | 604 |
604 } // namespace blink | 605 } // namespace blink |
605 | 606 |
606 #endif // LayerScrollableArea_h | 607 #endif // LayerScrollableArea_h |
OLD | NEW |