| 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 void setTopmostScrollChild(PaintLayer*); | 398 void setTopmostScrollChild(PaintLayer*); |
| 399 PaintLayer* topmostScrollChild() const { | 399 PaintLayer* topmostScrollChild() const { |
| 400 DCHECK(!m_nextTopmostScrollChild); | 400 DCHECK(!m_nextTopmostScrollChild); |
| 401 return m_topmostScrollChild; | 401 return m_topmostScrollChild; |
| 402 } | 402 } |
| 403 | 403 |
| 404 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; | 404 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; |
| 405 | 405 |
| 406 // TODO(ymalik): Remove box() and update callers to use layoutBox() instead. | 406 // TODO(ymalik): Remove box() and update callers to use layoutBox() instead. |
| 407 LayoutBox& box() const; | 407 LayoutBox& box() const; |
| 408 PaintLayer* layer() const; | 408 PaintLayer* layer() const override; |
| 409 | 409 |
| 410 LayoutScrollbarPart* resizer() const override { return m_resizer; } | 410 LayoutScrollbarPart* resizer() const override { return m_resizer; } |
| 411 | 411 |
| 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 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 | 582 |
| 583 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, | 583 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, |
| 584 ScrollableArea, | 584 ScrollableArea, |
| 585 scrollableArea, | 585 scrollableArea, |
| 586 scrollableArea->isPaintLayerScrollableArea(), | 586 scrollableArea->isPaintLayerScrollableArea(), |
| 587 scrollableArea.isPaintLayerScrollableArea()); | 587 scrollableArea.isPaintLayerScrollableArea()); |
| 588 | 588 |
| 589 } // namespace blink | 589 } // namespace blink |
| 590 | 590 |
| 591 #endif // LayerScrollableArea_h | 591 #endif // LayerScrollableArea_h |
| OLD | NEW |