Chromium Code Reviews| Index: Source/core/platform/graphics/GraphicsLayer.h |
| diff --git a/Source/core/platform/graphics/GraphicsLayer.h b/Source/core/platform/graphics/GraphicsLayer.h |
| index ae7a045774ea5a366ad41b24baa51a5e57a9540e..0912205a77fa386eb957213884861d770b3cb8ac 100644 |
| --- a/Source/core/platform/graphics/GraphicsLayer.h |
| +++ b/Source/core/platform/graphics/GraphicsLayer.h |
| @@ -318,6 +318,12 @@ public: |
| float opacity() const { return m_opacity; } |
| void setOpacity(float); |
| + BlendMode blendMode() const { return m_blendMode; } |
| + void setBlendMode(BlendMode); |
| + |
| + bool isRootForIsolatedGroup() const { return m_isRootForIsolatedGroup; } |
| + void setIsRootForIsolatedGroup(bool); |
| + |
| const FilterOperations& filters() const { return m_filters; } |
| // Returns true if filter can be rendered by the compositor |
| @@ -494,6 +500,9 @@ protected: |
| float m_opacity; |
| float m_zPosition; |
| + BlendMode m_blendMode; |
| + bool m_isRootForIsolatedGroup : 1; |
|
shawnsingh
2013/09/13 10:22:59
As far as I know, declaring a bitfield here, in-be
rosca
2013/09/19 14:26:54
Done.
|
| + |
| FilterOperations m_filters; |
| bool m_contentsOpaque : 1; |