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

Unified Diff: ui/gfx/compositor/layer_animation.h

Issue 7273073: Animated Rotation (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed unnecessary include Created 9 years, 4 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
Index: ui/gfx/compositor/layer_animation.h
diff --git a/ui/gfx/compositor/layer_animation.h b/ui/gfx/compositor/layer_animation.h
index 63794abb0e7145037d06d1fa456c5b246842ec90..c6ad56f1de4a599b778666234525e619e96da47e 100644
--- a/ui/gfx/compositor/layer_animation.h
+++ b/ui/gfx/compositor/layer_animation.h
@@ -60,6 +60,8 @@ class LayerAnimation : public base::RefCounted<LayerAnimation>,
virtual ~LayerAnimation();
virtual void OnAnimationProgressed(double t) = 0;
virtual void OnAnimationEnded() = 0;
+ int duration() { return duration_; }
sky 2011/08/17 16:39:42 newline between 62 and 63. Make 63 const.
+ void set_duration(int duration) { duration_ = duration; }
private:
friend class base::RefCounted<LayerAnimation>;

Powered by Google App Engine
This is Rietveld 408576698