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

Unified Diff: ui/compositor/layer_animator.h

Issue 10800020: Add brightness/grayscale animations and use them for OOBE boot transition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix hide animation Created 8 years, 5 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_animation_element_unittest.cc ('k') | ui/compositor/layer_animator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/compositor/layer_animation_element_unittest.cc ('k') | ui/compositor/layer_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698