| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 IntRect ScrollableAreaBoundingBox() const override; | 290 IntRect ScrollableAreaBoundingBox() const override; |
| 291 void RegisterForAnimation() override; | 291 void RegisterForAnimation() override; |
| 292 void DeregisterForAnimation() override; | 292 void DeregisterForAnimation() override; |
| 293 bool UserInputScrollable(ScrollbarOrientation) const override; | 293 bool UserInputScrollable(ScrollbarOrientation) const override; |
| 294 bool ShouldPlaceVerticalScrollbarOnLeft() const override; | 294 bool ShouldPlaceVerticalScrollbarOnLeft() const override; |
| 295 int PageStep(ScrollbarOrientation) const override; | 295 int PageStep(ScrollbarOrientation) const override; |
| 296 ScrollBehavior ScrollBehaviorStyle() const override; | 296 ScrollBehavior ScrollBehaviorStyle() const override; |
| 297 CompositorAnimationHost* GetCompositorAnimationHost() const override; | 297 CompositorAnimationHost* GetCompositorAnimationHost() const override; |
| 298 CompositorAnimationTimeline* GetCompositorAnimationTimeline() const override; | 298 CompositorAnimationTimeline* GetCompositorAnimationTimeline() const override; |
| 299 | 299 |
| 300 LayoutSize ClientSize() const; |
| 301 IntSize PixelSnappedClientSize() const; |
| 302 |
| 300 void VisibleSizeChanged(); | 303 void VisibleSizeChanged(); |
| 301 | 304 |
| 302 // FIXME: We shouldn't allow access to m_overflowRect outside this class. | 305 // FIXME: We shouldn't allow access to m_overflowRect outside this class. |
| 303 LayoutRect OverflowRect() const { return overflow_rect_; } | 306 LayoutRect OverflowRect() const { return overflow_rect_; } |
| 304 | 307 |
| 305 void ScrollToAbsolutePosition( | 308 void ScrollToAbsolutePosition( |
| 306 const FloatPoint& position, | 309 const FloatPoint& position, |
| 307 ScrollBehavior scroll_behavior = kScrollBehaviorInstant, | 310 ScrollBehavior scroll_behavior = kScrollBehaviorInstant, |
| 308 ScrollType scroll_type = kProgrammaticScroll) { | 311 ScrollType scroll_type = kProgrammaticScroll) { |
| 309 SetScrollOffset(position - ScrollOrigin(), scroll_type, scroll_behavior); | 312 SetScrollOffset(position - ScrollOrigin(), scroll_type, scroll_behavior); |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 604 |
| 602 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 605 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
| 603 ScrollableArea, | 606 ScrollableArea, |
| 604 scrollableArea, | 607 scrollableArea, |
| 605 scrollableArea->IsPaintLayerScrollableArea(), | 608 scrollableArea->IsPaintLayerScrollableArea(), |
| 606 scrollableArea.IsPaintLayerScrollableArea()); | 609 scrollableArea.IsPaintLayerScrollableArea()); |
| 607 | 610 |
| 608 } // namespace blink | 611 } // namespace blink |
| 609 | 612 |
| 610 #endif // LayerScrollableArea_h | 613 #endif // LayerScrollableArea_h |
| OLD | NEW |