| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 bool shouldPerformScrollAnchoring() const override; | 426 bool shouldPerformScrollAnchoring() const override; |
| 427 ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; } | 427 ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; } |
| 428 bool isPaintLayerScrollableArea() const override { return true; } | 428 bool isPaintLayerScrollableArea() const override { return true; } |
| 429 | 429 |
| 430 LayoutBox* layoutBox() const override { return &box(); } | 430 LayoutBox* layoutBox() const override { return &box(); } |
| 431 | 431 |
| 432 FloatQuad localToVisibleContentQuad(const FloatQuad&, | 432 FloatQuad localToVisibleContentQuad(const FloatQuad&, |
| 433 const LayoutObject*, | 433 const LayoutObject*, |
| 434 unsigned = 0) const final; | 434 unsigned = 0) const final; |
| 435 | 435 |
| 436 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; |
| 437 |
| 436 bool shouldRebuildHorizontalScrollbarLayer() const { | 438 bool shouldRebuildHorizontalScrollbarLayer() const { |
| 437 return m_rebuildHorizontalScrollbarLayer; | 439 return m_rebuildHorizontalScrollbarLayer; |
| 438 } | 440 } |
| 439 bool shouldRebuildVerticalScrollbarLayer() const { | 441 bool shouldRebuildVerticalScrollbarLayer() const { |
| 440 return m_rebuildVerticalScrollbarLayer; | 442 return m_rebuildVerticalScrollbarLayer; |
| 441 } | 443 } |
| 442 void resetRebuildScrollbarLayerFlags(); | 444 void resetRebuildScrollbarLayerFlags(); |
| 443 | 445 |
| 444 // Did DelayScrollOffsetClampScope prevent us from running | 446 // Did DelayScrollOffsetClampScope prevent us from running |
| 445 // clampScrollOffsetsAfterLayout() in updateAfterLayout()? | 447 // clampScrollOffsetsAfterLayout() in updateAfterLayout()? |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 | 601 |
| 600 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 602 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
| 601 ScrollableArea, | 603 ScrollableArea, |
| 602 scrollableArea, | 604 scrollableArea, |
| 603 scrollableArea->isPaintLayerScrollableArea(), | 605 scrollableArea->isPaintLayerScrollableArea(), |
| 604 scrollableArea.isPaintLayerScrollableArea()); | 606 scrollableArea.isPaintLayerScrollableArea()); |
| 605 | 607 |
| 606 } // namespace blink | 608 } // namespace blink |
| 607 | 609 |
| 608 #endif // LayerScrollableArea_h | 610 #endif // LayerScrollableArea_h |
| OLD | NEW |