| 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 static LayoutRect transparencyClipBox(const PaintLayer*, const PaintLayer* r
ootLayer, TransparencyClipBoxBehavior transparencyBehavior, | 609 static LayoutRect transparencyClipBox(const PaintLayer*, const PaintLayer* r
ootLayer, TransparencyClipBoxBehavior transparencyBehavior, |
| 610 TransparencyClipBoxMode transparencyMode, const LayoutSize& subPixelAccu
mulation, GlobalPaintFlags = GlobalPaintNormalPhase); | 610 TransparencyClipBoxMode transparencyMode, const LayoutSize& subPixelAccu
mulation, GlobalPaintFlags = GlobalPaintNormalPhase); |
| 611 | 611 |
| 612 bool needsRepaint() const { return m_needsRepaint; } | 612 bool needsRepaint() const { return m_needsRepaint; } |
| 613 void setNeedsRepaint(); | 613 void setNeedsRepaint(); |
| 614 void clearNeedsRepaintRecursively(); | 614 void clearNeedsRepaintRecursively(); |
| 615 | 615 |
| 616 IntSize previousScrollOffsetAccumulationForPainting() const { return m_previ
ousScrollOffsetAccumulationForPainting; } | 616 IntSize previousScrollOffsetAccumulationForPainting() const { return m_previ
ousScrollOffsetAccumulationForPainting; } |
| 617 void setPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { m_pr
eviousScrollOffsetAccumulationForPainting = s; } | 617 void setPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { m_pr
eviousScrollOffsetAccumulationForPainting = s; } |
| 618 | 618 |
| 619 // For subsequence display items. | 619 DisplayItemClientWrapper displayItemClientForNegativeZOrderChildren() const; |
| 620 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } | 620 DisplayItemClientWrapper displayItemClientForNormalAndPositiveZOrderChildren
() const; |
| 621 |
| 622 static String debugNameForNegativeZOrderChildrenDisplayItemClient(const Pain
tLayer& layer) { return layer.debugName() + " negative z-order children"; } |
| 623 static String debugNameForNormalAndPositiveZOrderChildrenDisplayItemClient(c
onst PaintLayer& layer) { return layer.debugName() + " normal and positive z-ord
er children"; } |
| 621 | 624 |
| 622 private: | 625 private: |
| 623 // Bounding box in the coordinates of this layer. | 626 // Bounding box in the coordinates of this layer. |
| 624 LayoutRect logicalBoundingBox() const; | 627 LayoutRect logicalBoundingBox() const; |
| 625 | 628 |
| 626 bool hasOverflowControls() const; | 629 bool hasOverflowControls() const; |
| 627 | 630 |
| 628 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); | 631 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); |
| 629 | 632 |
| 630 // Returns true if the position changed. | 633 // Returns true if the position changed. |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 | 813 |
| 811 } // namespace blink | 814 } // namespace blink |
| 812 | 815 |
| 813 #ifndef NDEBUG | 816 #ifndef NDEBUG |
| 814 // Outside the WebCore namespace for ease of invocation from gdb. | 817 // Outside the WebCore namespace for ease of invocation from gdb. |
| 815 void showLayerTree(const blink::PaintLayer*); | 818 void showLayerTree(const blink::PaintLayer*); |
| 816 void showLayerTree(const blink::LayoutObject*); | 819 void showLayerTree(const blink::LayoutObject*); |
| 817 #endif | 820 #endif |
| 818 | 821 |
| 819 #endif // Layer_h | 822 #endif // Layer_h |
| OLD | NEW |