| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_GFX_ANIMATION_ANIMATION_CONTAINER_H_ | 5 #ifndef UI_GFX_ANIMATION_ANIMATION_CONTAINER_H_ |
| 6 #define UI_GFX_ANIMATION_ANIMATION_CONTAINER_H_ | 6 #define UI_GFX_ANIMATION_ANIMATION_CONTAINER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // fired this is the time the animation was added. | 72 // fired this is the time the animation was added. |
| 73 // . The time the last animation ran at (::Run was invoked). | 73 // . The time the last animation ran at (::Run was invoked). |
| 74 base::TimeTicks last_tick_time_; | 74 base::TimeTicks last_tick_time_; |
| 75 | 75 |
| 76 // Set of elements (animations) being managed. | 76 // Set of elements (animations) being managed. |
| 77 Elements elements_; | 77 Elements elements_; |
| 78 | 78 |
| 79 // Minimum interval the timers run at. | 79 // Minimum interval the timers run at. |
| 80 base::TimeDelta min_timer_interval_; | 80 base::TimeDelta min_timer_interval_; |
| 81 | 81 |
| 82 base::RepeatingTimer<AnimationContainer> timer_; | 82 base::RepeatingTimer timer_; |
| 83 | 83 |
| 84 AnimationContainerObserver* observer_; | 84 AnimationContainerObserver* observer_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(AnimationContainer); | 86 DISALLOW_COPY_AND_ASSIGN(AnimationContainer); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace gfx | 89 } // namespace gfx |
| 90 | 90 |
| 91 #endif // UI_GFX_ANIMATION_ANIMATION_CONTAINER_H_ | 91 #endif // UI_GFX_ANIMATION_ANIMATION_CONTAINER_H_ |
| OLD | NEW |