| 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 void updateSelfPaintingLayer(); | 546 void updateSelfPaintingLayer(); |
| 547 | 547 |
| 548 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. | 548 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. |
| 549 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); | 549 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); |
| 550 | 550 |
| 551 RenderLayer* enclosingTransformedAncestor() const; | 551 RenderLayer* enclosingTransformedAncestor() const; |
| 552 LayoutPoint computeOffsetFromTransformedAncestor() const; | 552 LayoutPoint computeOffsetFromTransformedAncestor() const; |
| 553 | 553 |
| 554 void didUpdateNeedsCompositedScrolling(); | 554 void didUpdateNeedsCompositedScrolling(); |
| 555 | 555 |
| 556 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); |
| 557 |
| 556 private: | 558 private: |
| 557 // Bounding box in the coordinates of this layer. | 559 // Bounding box in the coordinates of this layer. |
| 558 LayoutRect logicalBoundingBox() const; | 560 LayoutRect logicalBoundingBox() const; |
| 559 | 561 |
| 560 bool hasOverflowControls() const; | 562 bool hasOverflowControls() const; |
| 561 | 563 |
| 562 void setAncestorChainHasSelfPaintingLayerDescendant(); | 564 void setAncestorChainHasSelfPaintingLayerDescendant(); |
| 563 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); | 565 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); |
| 564 | 566 |
| 565 void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&,
PaintLayerFlags, BorderRadiusClippingRule = IncludeSelfForBorderRadius); | 567 void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&,
PaintLayerFlags, BorderRadiusClippingRule = IncludeSelfForBorderRadius); |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 | 779 |
| 778 } // namespace blink | 780 } // namespace blink |
| 779 | 781 |
| 780 #ifndef NDEBUG | 782 #ifndef NDEBUG |
| 781 // Outside the WebCore namespace for ease of invocation from gdb. | 783 // Outside the WebCore namespace for ease of invocation from gdb. |
| 782 void showLayerTree(const blink::RenderLayer*); | 784 void showLayerTree(const blink::RenderLayer*); |
| 783 void showLayerTree(const blink::RenderObject*); | 785 void showLayerTree(const blink::RenderObject*); |
| 784 #endif | 786 #endif |
| 785 | 787 |
| 786 #endif // RenderLayer_h | 788 #endif // RenderLayer_h |
| OLD | NEW |