Chromium Code Reviews| 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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 603 void setHasCompositingDescendant(bool); | 603 void setHasCompositingDescendant(bool); |
| 604 | 604 |
| 605 bool shouldIsolateCompositedDescendants() const { ASSERT(isAllowedToQueryCom positingState()); return m_shouldIsolateCompositedDescendants; } | 605 bool shouldIsolateCompositedDescendants() const { ASSERT(isAllowedToQueryCom positingState()); return m_shouldIsolateCompositedDescendants; } |
| 606 void setShouldIsolateCompositedDescendants(bool); | 606 void setShouldIsolateCompositedDescendants(bool); |
| 607 | 607 |
| 608 void updateDescendantDependentFlags(); | 608 void updateDescendantDependentFlags(); |
| 609 | 609 |
| 610 void updateOrRemoveFilterEffectBuilder(); | 610 void updateOrRemoveFilterEffectBuilder(); |
| 611 | 611 |
| 612 void updateSelfPaintingLayer(); | 612 void updateSelfPaintingLayer(); |
| 613 PaintLayer* enclosingSelfPaintingLayer(); | |
|
chrishtr
2016/02/26 19:36:27
Add a note that this is O(depth), so callers shoul
pdr.
2016/02/26 19:46:09
Done
| |
| 613 | 614 |
| 614 PaintLayer* enclosingTransformedAncestor() const; | 615 PaintLayer* enclosingTransformedAncestor() const; |
| 615 LayoutPoint computeOffsetFromTransformedAncestor() const; | 616 LayoutPoint computeOffsetFromTransformedAncestor() const; |
| 616 | 617 |
| 617 void didUpdateNeedsCompositedScrolling(); | 618 void didUpdateNeedsCompositedScrolling(); |
| 618 | 619 |
| 619 bool hasSelfPaintingLayerDescendant() const | 620 bool hasSelfPaintingLayerDescendant() const |
| 620 { | 621 { |
| 621 if (m_hasSelfPaintingLayerDescendantDirty) | 622 if (m_hasSelfPaintingLayerDescendantDirty) |
| 622 updateHasSelfPaintingLayerDescendant(); | 623 updateHasSelfPaintingLayerDescendant(); |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 871 | 872 |
| 872 } // namespace blink | 873 } // namespace blink |
| 873 | 874 |
| 874 #ifndef NDEBUG | 875 #ifndef NDEBUG |
| 875 // Outside the WebCore namespace for ease of invocation from gdb. | 876 // Outside the WebCore namespace for ease of invocation from gdb. |
| 876 void showLayerTree(const blink::PaintLayer*); | 877 void showLayerTree(const blink::PaintLayer*); |
| 877 void showLayerTree(const blink::LayoutObject*); | 878 void showLayerTree(const blink::LayoutObject*); |
| 878 #endif | 879 #endif |
| 879 | 880 |
| 880 #endif // Layer_h | 881 #endif // Layer_h |
| OLD | NEW |