Index: ui/compositor/test/test_layer_animation_delegate.cc |
diff --git a/ui/compositor/test/test_layer_animation_delegate.cc b/ui/compositor/test/test_layer_animation_delegate.cc |
index b4cd481273674a7820f8bf2e3788f2b243139847..74275715dab4ade0e9b33f58c5857bad835aefca 100644 |
--- a/ui/compositor/test/test_layer_animation_delegate.cc |
+++ b/ui/compositor/test/test_layer_animation_delegate.cc |
@@ -40,6 +40,14 @@ void TestLayerAnimationDelegate::SetVisibilityFromAnimation(bool visibility) { |
visibility_ = visibility; |
} |
+void TestLayerAnimationDelegate::SetBrightnessFromAnimation(float brightness) { |
+ brightness_ = brightness; |
+} |
+ |
+void TestLayerAnimationDelegate::SetGrayscaleFromAnimation(float grayscale) { |
+ grayscale_ = grayscale; |
+} |
+ |
void TestLayerAnimationDelegate::ScheduleDrawForAnimation() { |
} |
@@ -59,4 +67,12 @@ bool TestLayerAnimationDelegate::GetVisibilityForAnimation() const { |
return visibility_; |
} |
+float TestLayerAnimationDelegate::GetBrightnessForAnimation() const { |
+ return brightness_; |
+} |
+ |
+float TestLayerAnimationDelegate::GetGrayscaleForAnimation() const { |
+ return grayscale_; |
+} |
+ |
} // namespace ui |