Chromium Code Reviews| Index: Source/core/rendering/compositing/CompositedLayerMapping.h |
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.h b/Source/core/rendering/compositing/CompositedLayerMapping.h |
| index 933a6cd841b8e8c81517ce29f55ee3142c5f22fc..f280e2d7ce2cb3bbe7ba6d85665b78f02b8ccd4a 100644 |
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.h |
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.h |
| @@ -27,6 +27,7 @@ |
| #define CompositedLayerMapping_h |
| #include "core/rendering/RenderLayer.h" |
| +#include "core/rendering/compositing/GraphicsLayerUpdater.h" |
| #include "platform/geometry/FloatPoint.h" |
| #include "platform/geometry/FloatPoint3D.h" |
| #include "platform/graphics/GraphicsLayer.h" |
| @@ -94,7 +95,7 @@ public: |
| // Returns true if layer configuration changed. |
| bool updateGraphicsLayerConfiguration(); |
| // Update graphics layer position and bounds. |
| - void updateGraphicsLayerGeometry(); // make private |
| + GraphicsLayerUpdater::UpdateType updateGraphicsLayerGeometry(GraphicsLayerUpdater::UpdateType); |
| // Update whether layer needs blending. |
| void updateContentsOpaque(); |
| @@ -195,6 +196,9 @@ public: |
| void setBlendMode(blink::WebBlendMode); |
| + void setNeedsGeometryUpdate(); |
| + void willUpdateGeometryOfAllDecendants(); |
|
ojan
2014/03/05 18:29:51
Nit: This function name is confusing to me. Should
abarth-chromium
2014/03/05 23:12:19
Will do.
|
| + |
| virtual String debugName(const GraphicsLayer*) OVERRIDE; |
| LayoutSize subpixelAccumulation() const { return m_subpixelAccumulation; } |
| @@ -353,12 +357,14 @@ private: |
| LayoutRect m_compositedBounds; |
| LayoutSize m_subpixelAccumulation; // The accumulated subpixel offset of the compositedBounds compared to absolute coordinates. |
| - bool m_artificiallyInflatedBounds; // bounds had to be made non-zero to make transform-origin work |
| - bool m_isMainFrameRenderViewLayer; |
| - bool m_requiresOwnBackingStoreForIntrinsicReasons; |
| - bool m_requiresOwnBackingStoreForAncestorReasons; |
| - bool m_canCompositeFilters; |
| - bool m_backgroundLayerPaintsFixedRootBackground; |
| + bool m_artificiallyInflatedBounds : 1; // bounds had to be made non-zero to make transform-origin work |
| + bool m_isMainFrameRenderViewLayer : 1; |
| + bool m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
| + bool m_requiresOwnBackingStoreForAncestorReasons : 1; |
| + bool m_canCompositeFilters : 1; |
| + bool m_backgroundLayerPaintsFixedRootBackground : 1; |
| + bool m_needToUpdateGeometry : 1; |
| + bool m_needToUpdateGeometryOfAllDecendants : 1; |
| }; |
| } // namespace WebCore |