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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 | 733 |
734 bool shouldBeSelfPaintingLayer() const; | 734 bool shouldBeSelfPaintingLayer() const; |
735 | 735 |
736 // FIXME: We should only create the stacking node if needed. | 736 // FIXME: We should only create the stacking node if needed. |
737 bool requiresStackingNode() const { return true; } | 737 bool requiresStackingNode() const { return true; } |
738 void updateStackingNode(); | 738 void updateStackingNode(); |
739 | 739 |
740 void updateReflectionInfo(const ComputedStyle*); | 740 void updateReflectionInfo(const ComputedStyle*); |
741 FilterEffectBuilder* updateFilterEffectBuilder() const; | 741 FilterEffectBuilder* updateFilterEffectBuilder() const; |
742 | 742 |
743 // FIXME: We could lazily allocate our ScrollableArea based on style propert
ies ('overflow', ...) | 743 bool requiresScrollableArea() const { return m_layoutObject->hasOverflowClip
() || m_layoutObject->isLayoutView() || m_layoutObject->styleRef().resize() != R
ESIZE_NONE; } |
744 // but for now, we are always allocating it for LayoutBox as it's safer. crb
ug.com/467721. | |
745 bool requiresScrollableArea() const { return layoutBox(); } | |
746 void updateScrollableArea(); | 744 void updateScrollableArea(); |
747 | 745 |
748 void dirtyAncestorChainVisibleDescendantStatus(); | 746 void dirtyAncestorChainVisibleDescendantStatus(); |
749 | 747 |
750 bool attemptDirectCompositingUpdate(StyleDifference, const ComputedStyle* ol
dStyle); | 748 bool attemptDirectCompositingUpdate(StyleDifference, const ComputedStyle* ol
dStyle); |
751 void updateTransform(const ComputedStyle* oldStyle, const ComputedStyle& new
Style); | 749 void updateTransform(const ComputedStyle* oldStyle, const ComputedStyle& new
Style); |
752 | 750 |
753 void dirty3DTransformedDescendantStatus(); | 751 void dirty3DTransformedDescendantStatus(); |
754 // Both updates the status, and returns true if descendants of this have 3d. | 752 // Both updates the status, and returns true if descendants of this have 3d. |
755 bool update3DTransformedDescendantStatus(); | 753 bool update3DTransformedDescendantStatus(); |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 | 868 |
871 } // namespace blink | 869 } // namespace blink |
872 | 870 |
873 #ifndef NDEBUG | 871 #ifndef NDEBUG |
874 // Outside the WebCore namespace for ease of invocation from gdb. | 872 // Outside the WebCore namespace for ease of invocation from gdb. |
875 void showLayerTree(const blink::PaintLayer*); | 873 void showLayerTree(const blink::PaintLayer*); |
876 void showLayerTree(const blink::LayoutObject*); | 874 void showLayerTree(const blink::LayoutObject*); |
877 #endif | 875 #endif |
878 | 876 |
879 #endif // Layer_h | 877 #endif // Layer_h |
OLD | NEW |