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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 void updateSelfPaintingLayer(); | 533 void updateSelfPaintingLayer(); |
534 | 534 |
535 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. | 535 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. |
536 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); | 536 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); |
537 | 537 |
538 RenderLayer* enclosingTransformedAncestor() const; | 538 RenderLayer* enclosingTransformedAncestor() const; |
539 LayoutPoint computeOffsetFromTransformedAncestor() const; | 539 LayoutPoint computeOffsetFromTransformedAncestor() const; |
540 | 540 |
541 void didUpdateNeedsCompositedScrolling(); | 541 void didUpdateNeedsCompositedScrolling(); |
542 | 542 |
| 543 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); |
| 544 |
543 private: | 545 private: |
544 // Bounding box in the coordinates of this layer. | 546 // Bounding box in the coordinates of this layer. |
545 LayoutRect logicalBoundingBox() const; | 547 LayoutRect logicalBoundingBox() const; |
546 | 548 |
547 bool hasOverflowControls() const; | 549 bool hasOverflowControls() const; |
548 | 550 |
549 void setAncestorChainHasSelfPaintingLayerDescendant(); | 551 void setAncestorChainHasSelfPaintingLayerDescendant(); |
550 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); | 552 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); |
551 | 553 |
552 void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&,
PaintLayerFlags, BorderRadiusClippingRule = IncludeSelfForBorderRadius); | 554 void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&,
PaintLayerFlags, BorderRadiusClippingRule = IncludeSelfForBorderRadius); |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 | 772 |
771 } // namespace blink | 773 } // namespace blink |
772 | 774 |
773 #ifndef NDEBUG | 775 #ifndef NDEBUG |
774 // Outside the WebCore namespace for ease of invocation from gdb. | 776 // Outside the WebCore namespace for ease of invocation from gdb. |
775 void showLayerTree(const blink::RenderLayer*); | 777 void showLayerTree(const blink::RenderLayer*); |
776 void showLayerTree(const blink::RenderObject*); | 778 void showLayerTree(const blink::RenderObject*); |
777 #endif | 779 #endif |
778 | 780 |
779 #endif // RenderLayer_h | 781 #endif // RenderLayer_h |
OLD | NEW |