Chromium Code Reviews| Index: ui/compositor/layer.h |
| diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
| index a0a6cc1a5535c57f851db8fb4eeacca7583ec26a..5b7ac9c40eeba03036106233dc88e4137968539d 100644 |
| --- a/ui/compositor/layer.h |
| +++ b/ui/compositor/layer.h |
| @@ -134,6 +134,10 @@ class COMPOSITOR_EXPORT Layer : |
| int background_blur() const { return background_blur_radius_; } |
| void SetBackgroundBlur(int blur_radius); |
| + // Invert the layer. |
| + bool invert() const { return invert_; } |
| + void SetInvert(bool invert); |
|
sky
2012/05/16 21:07:48
SetInverted
Zachary Kuznia
2012/05/17 08:25:25
Done.
|
| + |
| // Return the target opacity if animator is running, or the current opacity |
| // otherwise. |
| float GetTargetOpacity() const; |
| @@ -288,6 +292,7 @@ class COMPOSITOR_EXPORT Layer : |
| float opacity_; |
| int background_blur_radius_; |
| + bool invert_; |
|
sky
2012/05/16 21:07:48
inverted
Zachary Kuznia
2012/05/17 08:25:25
Done.
|
| std::string name_; |