| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 const IntPoint& cachedOverlayScrollbarOffset() { | 412 const IntPoint& cachedOverlayScrollbarOffset() { |
| 413 return m_cachedOverlayScrollbarOffset; | 413 return m_cachedOverlayScrollbarOffset; |
| 414 } | 414 } |
| 415 void setCachedOverlayScrollbarOffset(const IntPoint& offset) { | 415 void setCachedOverlayScrollbarOffset(const IntPoint& offset) { |
| 416 m_cachedOverlayScrollbarOffset = offset; | 416 m_cachedOverlayScrollbarOffset = offset; |
| 417 } | 417 } |
| 418 | 418 |
| 419 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const; | 419 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const; |
| 420 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; | 420 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; |
| 421 | 421 |
| 422 Widget* getWidget() override; | 422 FrameViewBase* getWidget() override; |
| 423 bool shouldPerformScrollAnchoring() const override; | 423 bool shouldPerformScrollAnchoring() const override; |
| 424 ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; } | 424 ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; } |
| 425 bool isPaintLayerScrollableArea() const override { return true; } | 425 bool isPaintLayerScrollableArea() const override { return true; } |
| 426 | 426 |
| 427 LayoutBox* layoutBox() const override { return &box(); } | 427 LayoutBox* layoutBox() const override { return &box(); } |
| 428 | 428 |
| 429 FloatQuad localToVisibleContentQuad(const FloatQuad&, | 429 FloatQuad localToVisibleContentQuad(const FloatQuad&, |
| 430 const LayoutObject*, | 430 const LayoutObject*, |
| 431 unsigned = 0) const final; | 431 unsigned = 0) const final; |
| 432 | 432 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 | 598 |
| 599 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 599 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
| 600 ScrollableArea, | 600 ScrollableArea, |
| 601 scrollableArea, | 601 scrollableArea, |
| 602 scrollableArea->isPaintLayerScrollableArea(), | 602 scrollableArea->isPaintLayerScrollableArea(), |
| 603 scrollableArea.isPaintLayerScrollableArea()); | 603 scrollableArea.isPaintLayerScrollableArea()); |
| 604 | 604 |
| 605 } // namespace blink | 605 } // namespace blink |
| 606 | 606 |
| 607 #endif // LayerScrollableArea_h | 607 #endif // LayerScrollableArea_h |
| OLD | NEW |