OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
207 | 207 |
208 IntSize contentOffsetInCompostingLayer() const; | 208 IntSize contentOffsetInCompostingLayer() const; |
209 // Result is transform origin in pixels. | 209 // Result is transform origin in pixels. |
210 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; | 210 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; |
211 // Result is perspective origin in pixels. | 211 // Result is perspective origin in pixels. |
212 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; | 212 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; |
213 | 213 |
214 void updateOpacity(const RenderStyle*); | 214 void updateOpacity(const RenderStyle*); |
215 void updateTransform(const RenderStyle*); | 215 void updateTransform(const RenderStyle*); |
216 void updateLayerBlendMode(const RenderStyle*); | 216 void updateLayerBlendMode(const RenderStyle*); |
217 void updateRootForIsolatedGroup(); | |
shawnsingh
2013/09/13 10:22:59
In my opinion this should be called updateIsRootFo
rosca
2013/09/19 14:26:54
Done.
| |
217 // Return the opacity value that this layer should use for compositing. | 218 // Return the opacity value that this layer should use for compositing. |
218 float compositingOpacity(float rendererOpacity) const; | 219 float compositingOpacity(float rendererOpacity) const; |
219 | 220 |
220 bool isMainFrameRenderViewLayer() const; | 221 bool isMainFrameRenderViewLayer() const; |
221 | 222 |
222 bool paintsBoxDecorations() const; | 223 bool paintsBoxDecorations() const; |
223 bool paintsChildren() const; | 224 bool paintsChildren() const; |
224 | 225 |
225 // Returns true if this compositing layer has no visible content. | 226 // Returns true if this compositing layer has no visible content. |
226 bool isSimpleContainerCompositingLayer() const; | 227 bool isSimpleContainerCompositingLayer() const; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
269 bool m_boundsConstrainedByClipping; | 270 bool m_boundsConstrainedByClipping; |
270 bool m_isMainFrameRenderViewLayer; | 271 bool m_isMainFrameRenderViewLayer; |
271 bool m_requiresOwnBackingStore; | 272 bool m_requiresOwnBackingStore; |
272 bool m_canCompositeFilters; | 273 bool m_canCompositeFilters; |
273 bool m_backgroundLayerPaintsFixedRootBackground; | 274 bool m_backgroundLayerPaintsFixedRootBackground; |
274 }; | 275 }; |
275 | 276 |
276 } // namespace WebCore | 277 } // namespace WebCore |
277 | 278 |
278 #endif // RenderLayerBacking_h | 279 #endif // RenderLayerBacking_h |
OLD | NEW |