Chromium Code Reviews| 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>; |