Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: ui/compositor/test/test_layer_animation_delegate.h

Issue 2854653003: [Night Light] Backend ui::Layer work (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/compositor/layer_animator_unittest.cc ('k') | ui/compositor/test/test_layer_animation_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/test_layer_animation_delegate.h
diff --git a/ui/compositor/test/test_layer_animation_delegate.h b/ui/compositor/test/test_layer_animation_delegate.h
index a6575f507b498c731289589371486cf5b22273ab..0eea772d956edf7a901bab204d140627abd71f9d 100644
--- a/ui/compositor/test/test_layer_animation_delegate.h
+++ b/ui/compositor/test/test_layer_animation_delegate.h
@@ -40,6 +40,7 @@ class TestLayerAnimationDelegate : public LayerAnimationDelegate {
void SetBrightnessFromAnimation(float brightness) override;
void SetGrayscaleFromAnimation(float grayscale) override;
void SetColorFromAnimation(SkColor color) override;
+ void SetTemperatureFromAnimation(float temperature) override;
void ScheduleDrawForAnimation() override;
const gfx::Rect& GetBoundsForAnimation() const override;
gfx::Transform GetTransformForAnimation() const override;
@@ -48,6 +49,7 @@ class TestLayerAnimationDelegate : public LayerAnimationDelegate {
float GetBrightnessForAnimation() const override;
float GetGrayscaleForAnimation() const override;
SkColor GetColorForAnimation() const override;
+ float GetTemperatureFromAnimation() const override;
float GetDeviceScaleFactor() const override;
LayerAnimatorCollection* GetLayerAnimatorCollection() override;
cc::Layer* GetCcLayer() const override;
@@ -67,6 +69,7 @@ class TestLayerAnimationDelegate : public LayerAnimationDelegate {
float brightness_;
float grayscale_;
SkColor color_;
+ float temperature_;
scoped_refptr<cc::Layer> cc_layer_;
// Allow copy and assign.
« no previous file with comments | « ui/compositor/layer_animator_unittest.cc ('k') | ui/compositor/test/test_layer_animation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698