| 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 | 398 |
| 399 LayoutScrollbarPart* resizer() const override { return m_resizer; } | 399 LayoutScrollbarPart* resizer() const override { return m_resizer; } |
| 400 | 400 |
| 401 const IntPoint& cachedOverlayScrollbarOffset() { return m_cachedOverlayScrol
lbarOffset; } | 401 const IntPoint& cachedOverlayScrollbarOffset() { return m_cachedOverlayScrol
lbarOffset; } |
| 402 void setCachedOverlayScrollbarOffset(const IntPoint& offset) { m_cachedOverl
ayScrollbarOffset = offset; } | 402 void setCachedOverlayScrollbarOffset(const IntPoint& offset) { m_cachedOverl
ayScrollbarOffset = offset; } |
| 403 | 403 |
| 404 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const; | 404 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const; |
| 405 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; | 405 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; |
| 406 | 406 |
| 407 Widget* getWidget() override; | 407 Widget* getWidget() override; |
| 408 bool shouldPerformScrollAnchoring() const override; |
| 408 ScrollAnchor& scrollAnchor() { return m_scrollAnchor; } | 409 ScrollAnchor& scrollAnchor() { return m_scrollAnchor; } |
| 409 bool isPaintLayerScrollableArea() const override { return true; } | 410 bool isPaintLayerScrollableArea() const override { return true; } |
| 410 | 411 |
| 411 LayoutBox* layoutBox() const override { return &box(); } | 412 LayoutBox* layoutBox() const override { return &box(); } |
| 412 | 413 |
| 413 bool shouldRebuildHorizontalScrollbarLayer() const { return m_rebuildHorizon
talScrollbarLayer; } | 414 bool shouldRebuildHorizontalScrollbarLayer() const { return m_rebuildHorizon
talScrollbarLayer; } |
| 414 bool shouldRebuildVerticalScrollbarLayer() const { return m_rebuildVerticalS
crollbarLayer; } | 415 bool shouldRebuildVerticalScrollbarLayer() const { return m_rebuildVerticalS
crollbarLayer; } |
| 415 void resetRebuildScrollbarLayerFlags(); | 416 void resetRebuildScrollbarLayerFlags(); |
| 416 | 417 |
| 417 // Did DelayScrollPositionClampScope prevent us from running clampScrollPosi
tionsAfterLayout() | 418 // Did DelayScrollPositionClampScope prevent us from running clampScrollPosi
tionsAfterLayout() |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 #endif | 544 #endif |
| 544 }; | 545 }; |
| 545 | 546 |
| 546 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, | 547 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, |
| 547 scrollableArea->isPaintLayerScrollableArea(), | 548 scrollableArea->isPaintLayerScrollableArea(), |
| 548 scrollableArea.isPaintLayerScrollableArea()); | 549 scrollableArea.isPaintLayerScrollableArea()); |
| 549 | 550 |
| 550 } // namespace blink | 551 } // namespace blink |
| 551 | 552 |
| 552 #endif // LayerScrollableArea_h | 553 #endif // LayerScrollableArea_h |
| OLD | NEW |