OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 } // namespace | 98 } // namespace |
99 | 99 |
100 using namespace HTMLNames; | 100 using namespace HTMLNames; |
101 | 101 |
102 RenderLayer::RenderLayer(RenderLayerModelObject* renderer, LayerType type) | 102 RenderLayer::RenderLayer(RenderLayerModelObject* renderer, LayerType type) |
103 : m_layerType(type) | 103 : m_layerType(type) |
104 , m_hasSelfPaintingLayerDescendant(false) | 104 , m_hasSelfPaintingLayerDescendant(false) |
105 , m_hasSelfPaintingLayerDescendantDirty(false) | 105 , m_hasSelfPaintingLayerDescendantDirty(false) |
106 , m_isRootLayer(renderer->isRenderView()) | 106 , m_isRootLayer(renderer->isRenderView()) |
107 , m_usedTransparency(false) | |
108 , m_visibleContentStatusDirty(true) | 107 , m_visibleContentStatusDirty(true) |
109 , m_hasVisibleContent(false) | 108 , m_hasVisibleContent(false) |
110 , m_visibleDescendantStatusDirty(false) | 109 , m_visibleDescendantStatusDirty(false) |
111 , m_hasVisibleDescendant(false) | 110 , m_hasVisibleDescendant(false) |
112 , m_hasVisibleNonLayerContent(false) | 111 , m_hasVisibleNonLayerContent(false) |
113 , m_isPaginated(false) | 112 , m_isPaginated(false) |
114 , m_3DTransformedDescendantStatusDirty(true) | 113 , m_3DTransformedDescendantStatusDirty(true) |
115 , m_has3DTransformedDescendant(false) | 114 , m_has3DTransformedDescendant(false) |
116 , m_containsDirtyOverlayScrollbars(false) | 115 , m_containsDirtyOverlayScrollbars(false) |
117 , m_hasFilterInfo(false) | 116 , m_hasFilterInfo(false) |
(...skipping 2722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2840 } | 2839 } |
2841 } | 2840 } |
2842 | 2841 |
2843 void showLayerTree(const blink::RenderObject* renderer) | 2842 void showLayerTree(const blink::RenderObject* renderer) |
2844 { | 2843 { |
2845 if (!renderer) | 2844 if (!renderer) |
2846 return; | 2845 return; |
2847 showLayerTree(renderer->enclosingLayer()); | 2846 showLayerTree(renderer->enclosingLayer()); |
2848 } | 2847 } |
2849 #endif | 2848 #endif |
OLD | NEW |