| 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 bool scrollbarsCanBeActive() const override; | 287 bool scrollbarsCanBeActive() const override; |
| 288 void scrollbarVisibilityChanged() override; | 288 void scrollbarVisibilityChanged() override; |
| 289 IntRect scrollableAreaBoundingBox() const override; | 289 IntRect scrollableAreaBoundingBox() const override; |
| 290 void registerForAnimation() override; | 290 void registerForAnimation() override; |
| 291 void deregisterForAnimation() override; | 291 void deregisterForAnimation() override; |
| 292 bool userInputScrollable(ScrollbarOrientation) const override; | 292 bool userInputScrollable(ScrollbarOrientation) const override; |
| 293 bool shouldPlaceVerticalScrollbarOnLeft() const override; | 293 bool shouldPlaceVerticalScrollbarOnLeft() const override; |
| 294 int pageStep(ScrollbarOrientation) const override; | 294 int pageStep(ScrollbarOrientation) const override; |
| 295 ScrollBehavior scrollBehaviorStyle() const override; | 295 ScrollBehavior scrollBehaviorStyle() const override; |
| 296 CompositorAnimationTimeline* compositorAnimationTimeline() const override; | 296 CompositorAnimationTimeline* compositorAnimationTimeline() const override; |
| 297 void getTickmarks(Vector<IntRect>& rects) const override; |
| 297 | 298 |
| 298 // FIXME: We shouldn't allow access to m_overflowRect outside this class. | 299 // FIXME: We shouldn't allow access to m_overflowRect outside this class. |
| 299 LayoutRect overflowRect() const { return m_overflowRect; } | 300 LayoutRect overflowRect() const { return m_overflowRect; } |
| 300 | 301 |
| 301 void scrollToAbsolutePosition( | 302 void scrollToAbsolutePosition( |
| 302 const FloatPoint& position, | 303 const FloatPoint& position, |
| 303 ScrollBehavior scrollBehavior = ScrollBehaviorInstant, | 304 ScrollBehavior scrollBehavior = ScrollBehaviorInstant, |
| 304 ScrollType scrollType = ProgrammaticScroll) { | 305 ScrollType scrollType = ProgrammaticScroll) { |
| 305 setScrollOffset(position - scrollOrigin(), scrollType, scrollBehavior); | 306 setScrollOffset(position - scrollOrigin(), scrollType, scrollBehavior); |
| 306 } | 307 } |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 | 578 |
| 578 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 579 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
| 579 ScrollableArea, | 580 ScrollableArea, |
| 580 scrollableArea, | 581 scrollableArea, |
| 581 scrollableArea->isPaintLayerScrollableArea(), | 582 scrollableArea->isPaintLayerScrollableArea(), |
| 582 scrollableArea.isPaintLayerScrollableArea()); | 583 scrollableArea.isPaintLayerScrollableArea()); |
| 583 | 584 |
| 584 } // namespace blink | 585 } // namespace blink |
| 585 | 586 |
| 586 #endif // LayerScrollableArea_h | 587 #endif // LayerScrollableArea_h |
| OLD | NEW |