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

Unified Diff: ui/compositor/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.cc ('k') | ui/compositor/layer_animation_element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animation_delegate.h
diff --git a/ui/compositor/layer_animation_delegate.h b/ui/compositor/layer_animation_delegate.h
index 1473fa115cdd1aea2fd0e89ef08cb04a369bc893..827647be7a423fd5f52369b58cf4e2d9d1e0678a 100644
--- a/ui/compositor/layer_animation_delegate.h
+++ b/ui/compositor/layer_animation_delegate.h
@@ -29,6 +29,7 @@ class COMPOSITOR_EXPORT LayerAnimationDelegate {
virtual void SetBrightnessFromAnimation(float brightness) = 0;
virtual void SetGrayscaleFromAnimation(float grayscale) = 0;
virtual void SetColorFromAnimation(SkColor color) = 0;
+ virtual void SetTemperatureFromAnimation(float temperature) = 0;
virtual void ScheduleDrawForAnimation() = 0;
virtual const gfx::Rect& GetBoundsForAnimation() const = 0;
virtual gfx::Transform GetTransformForAnimation() const = 0;
@@ -37,6 +38,7 @@ class COMPOSITOR_EXPORT LayerAnimationDelegate {
virtual float GetBrightnessForAnimation() const = 0;
virtual float GetGrayscaleForAnimation() const = 0;
virtual SkColor GetColorForAnimation() const = 0;
+ virtual float GetTemperatureFromAnimation() const = 0;
virtual float GetDeviceScaleFactor() const = 0;
virtual cc::Layer* GetCcLayer() const = 0;
virtual LayerAnimatorCollection* GetLayerAnimatorCollection() = 0;
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/layer_animation_element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698