Index: ui/compositor/layer.h |
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
index e74d5537df06b76b916249588a9392cd58b800b2..415e5973dae1ee800f7bb9033ae2cd8ae0319f95 100644 |
--- a/ui/compositor/layer.h |
+++ b/ui/compositor/layer.h |
@@ -132,6 +132,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); |
+ |
// Return the target opacity if animator is running, or the current opacity |
// otherwise. |
float GetTargetOpacity() const; |
@@ -282,6 +286,7 @@ class COMPOSITOR_EXPORT Layer : |
float opacity_; |
int background_blur_radius_; |
+ bool invert_; |
std::string name_; |