Index: ui/compositor/layer_animator.h |
diff --git a/ui/compositor/layer_animator.h b/ui/compositor/layer_animator.h |
index 7da7ddf77d6931cd331699e41ca625ce17e79f1c..65ec27a4a2ef7006df068ec48d125539ccf87287 100644 |
--- a/ui/compositor/layer_animator.h |
+++ b/ui/compositor/layer_animator.h |
@@ -69,6 +69,14 @@ class COMPOSITOR_EXPORT LayerAnimator : public AnimationContainerElement { |
virtual void SetVisibility(bool visibility); |
bool GetTargetVisibility() const; |
+ // Sets the brightness on the delegate. May cause an implicit animation. |
+ virtual void SetBrightness(float brightness); |
+ float GetTargetBrightness() const; |
+ |
+ // Sets the grayscale on the delegate. May cause an implicit animation. |
+ virtual void SetGrayscale(float grayscale); |
+ float GetTargetGrayscale() const; |
+ |
// Sets the layer animation delegate the animator is associated with. The |
// animator does not own the delegate. |
void SetDelegate(LayerAnimationDelegate* delegate); |