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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 bool shouldSuspendScrollAnimations() const override; | 285 bool shouldSuspendScrollAnimations() const override; |
286 bool scrollbarsCanBeActive() const override; | 286 bool scrollbarsCanBeActive() const override; |
287 void scrollbarVisibilityChanged() override; | 287 void scrollbarVisibilityChanged() override; |
288 IntRect scrollableAreaBoundingBox() const override; | 288 IntRect scrollableAreaBoundingBox() const override; |
289 void registerForAnimation() override; | 289 void registerForAnimation() override; |
290 void deregisterForAnimation() override; | 290 void deregisterForAnimation() override; |
291 bool userInputScrollable(ScrollbarOrientation) const override; | 291 bool userInputScrollable(ScrollbarOrientation) const override; |
292 bool shouldPlaceVerticalScrollbarOnLeft() const override; | 292 bool shouldPlaceVerticalScrollbarOnLeft() const override; |
293 int pageStep(ScrollbarOrientation) const override; | 293 int pageStep(ScrollbarOrientation) const override; |
294 ScrollBehavior scrollBehaviorStyle() const override; | 294 ScrollBehavior scrollBehaviorStyle() const override; |
| 295 CompositorAnimationHost* compositorAnimationHost() const override; |
295 CompositorAnimationTimeline* compositorAnimationTimeline() const override; | 296 CompositorAnimationTimeline* compositorAnimationTimeline() const override; |
296 | 297 |
297 void visibleSizeChanged(); | 298 void visibleSizeChanged(); |
298 | 299 |
299 // FIXME: We shouldn't allow access to m_overflowRect outside this class. | 300 // FIXME: We shouldn't allow access to m_overflowRect outside this class. |
300 LayoutRect overflowRect() const { return m_overflowRect; } | 301 LayoutRect overflowRect() const { return m_overflowRect; } |
301 | 302 |
302 void scrollToAbsolutePosition( | 303 void scrollToAbsolutePosition( |
303 const FloatPoint& position, | 304 const FloatPoint& position, |
304 ScrollBehavior scrollBehavior = ScrollBehaviorInstant, | 305 ScrollBehavior scrollBehavior = ScrollBehaviorInstant, |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 | 587 |
587 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 588 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
588 ScrollableArea, | 589 ScrollableArea, |
589 scrollableArea, | 590 scrollableArea, |
590 scrollableArea->isPaintLayerScrollableArea(), | 591 scrollableArea->isPaintLayerScrollableArea(), |
591 scrollableArea.isPaintLayerScrollableArea()); | 592 scrollableArea.isPaintLayerScrollableArea()); |
592 | 593 |
593 } // namespace blink | 594 } // namespace blink |
594 | 595 |
595 #endif // LayerScrollableArea_h | 596 #endif // LayerScrollableArea_h |
OLD | NEW |