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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 void addChild(RenderLayer* newChild, RenderLayer* beforeChild = 0); | 119 void addChild(RenderLayer* newChild, RenderLayer* beforeChild = 0); |
120 RenderLayer* removeChild(RenderLayer*); | 120 RenderLayer* removeChild(RenderLayer*); |
121 | 121 |
122 void removeOnlyThisLayer(); | 122 void removeOnlyThisLayer(); |
123 void insertOnlyThisLayer(); | 123 void insertOnlyThisLayer(); |
124 | 124 |
125 void styleChanged(StyleDifference, const RenderStyle* oldStyle); | 125 void styleChanged(StyleDifference, const RenderStyle* oldStyle); |
126 | 126 |
127 bool isSelfPaintingLayer() const { return m_isSelfPaintingLayer; } | 127 bool isSelfPaintingLayer() const { return m_isSelfPaintingLayer; } |
128 bool isOverflowOnlyLayer() const { return m_layerType == OverflowClipLayer;
} | |
129 bool isForcedLayer() const { return m_layerType == ForcedLayer; } | |
130 | 128 |
131 void setLayerType(LayerType layerType) { m_layerType = layerType; } | 129 void setLayerType(LayerType layerType) { m_layerType = layerType; } |
132 | 130 |
133 bool cannotBlitToWindow() const; | 131 bool cannotBlitToWindow() const; |
134 | 132 |
135 bool isTransparent() const; | 133 bool isTransparent() const; |
136 RenderLayer* transparentPaintingAncestor(); | 134 RenderLayer* transparentPaintingAncestor(); |
137 void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer,
const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, Paint
Behavior); | 135 void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer,
const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, Paint
Behavior); |
138 | 136 |
139 bool isReflection() const { return renderer()->isReplica(); } | 137 bool isReflection() const { return renderer()->isReplica(); } |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 | 763 |
766 } // namespace WebCore | 764 } // namespace WebCore |
767 | 765 |
768 #ifndef NDEBUG | 766 #ifndef NDEBUG |
769 // Outside the WebCore namespace for ease of invocation from gdb. | 767 // Outside the WebCore namespace for ease of invocation from gdb. |
770 void showLayerTree(const WebCore::RenderLayer*); | 768 void showLayerTree(const WebCore::RenderLayer*); |
771 void showLayerTree(const WebCore::RenderObject*); | 769 void showLayerTree(const WebCore::RenderObject*); |
772 #endif | 770 #endif |
773 | 771 |
774 #endif // RenderLayer_h | 772 #endif // RenderLayer_h |
OLD | NEW |