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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 256 |
257 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; | 257 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; |
258 | 258 |
259 // Result is transform origin in pixels. | 259 // Result is transform origin in pixels. |
260 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; | 260 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; |
261 | 261 |
262 void updateOpacity(const ComputedStyle&); | 262 void updateOpacity(const ComputedStyle&); |
263 void updateTransform(const ComputedStyle&); | 263 void updateTransform(const ComputedStyle&); |
264 void updateLayerBlendMode(const ComputedStyle&); | 264 void updateLayerBlendMode(const ComputedStyle&); |
265 void updateIsRootForIsolatedGroup(); | 265 void updateIsRootForIsolatedGroup(); |
266 void updateScrollBlocksOn(const ComputedStyle&); | |
267 // Return the opacity value that this layer should use for compositing. | 266 // Return the opacity value that this layer should use for compositing. |
268 float compositingOpacity(float layoutObjectOpacity) const; | 267 float compositingOpacity(float layoutObjectOpacity) const; |
269 | 268 |
270 bool paintsChildren() const; | 269 bool paintsChildren() const; |
271 | 270 |
272 // Returns true if this layer has content that needs to be displayed by pain
ting into the backing store. | 271 // Returns true if this layer has content that needs to be displayed by pain
ting into the backing store. |
273 bool containsPaintedContent() const; | 272 bool containsPaintedContent() const; |
274 // Returns true if the Layer just contains an image that we can composite di
rectly. | 273 // Returns true if the Layer just contains an image that we can composite di
rectly. |
275 bool isDirectlyCompositedImage() const; | 274 bool isDirectlyCompositedImage() const; |
276 void updateImageContents(); | 275 void updateImageContents(); |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 unsigned m_pendingUpdateScope : 2; | 422 unsigned m_pendingUpdateScope : 2; |
424 unsigned m_isMainFrameLayoutViewLayer : 1; | 423 unsigned m_isMainFrameLayoutViewLayer : 1; |
425 | 424 |
426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 425 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
427 unsigned m_scrollingContentsAreEmpty : 1; | 426 unsigned m_scrollingContentsAreEmpty : 1; |
428 }; | 427 }; |
429 | 428 |
430 } // namespace blink | 429 } // namespace blink |
431 | 430 |
432 #endif // CompositedDeprecatedPaintLayerMapping_h | 431 #endif // CompositedDeprecatedPaintLayerMapping_h |
OLD | NEW |