OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_COMPOSITOR_LAYER_ANIMATION_TIMER_H_ |
| 6 #define UI_COMPOSITOR_LAYER_ANIMATION_TIMER_H_ |
| 7 |
| 8 #include "ui/base/animation/animation_container.h" |
| 9 #include "ui/compositor/compositor_export.h" |
| 10 |
| 11 namespace ui { |
| 12 |
| 13 class COMPOSITOR_EXPORT LayerAnimationTimer { |
| 14 public: |
| 15 virtual ~LayerAnimationTimer() { |
| 16 } |
| 17 |
| 18 virtual void Start(AnimationContainerElement*) = 0; |
| 19 virtual void Stop(AnimationContainerElement*) = 0; |
| 20 virtual base::TimeTicks last_tick_time() const = 0; |
| 21 virtual bool is_running() const = 0; |
| 22 }; |
| 23 |
| 24 } // namespace ui |
| 25 |
| 26 #endif // UI_COMPOSITOR_LAYER_ANIMATION_TIMER_H_ |
OLD | NEW |