| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_COMPOSITOR_LAYER_ANIMATOR_H_ | 5 #ifndef UI_COMPOSITOR_LAYER_ANIMATOR_H_ |
| 6 #define UI_COMPOSITOR_LAYER_ANIMATOR_H_ | 6 #define UI_COMPOSITOR_LAYER_ANIMATOR_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 // This prevents the animator from automatically stepping through animations | 342 // This prevents the animator from automatically stepping through animations |
| 343 // and allows for manual stepping. | 343 // and allows for manual stepping. |
| 344 bool disable_timer_for_test_; | 344 bool disable_timer_for_test_; |
| 345 | 345 |
| 346 // Prevents timer adjustments in case when we start multiple animations | 346 // Prevents timer adjustments in case when we start multiple animations |
| 347 // with preemption strategies that discard previous animations. | 347 // with preemption strategies that discard previous animations. |
| 348 bool adding_animations_; | 348 bool adding_animations_; |
| 349 | 349 |
| 350 // Observers are notified when layer animations end, are scheduled or are | 350 // Observers are notified when layer animations end, are scheduled or are |
| 351 // aborted. | 351 // aborted. |
| 352 ObserverList<LayerAnimationObserver> observers_; | 352 base::ObserverList<LayerAnimationObserver> observers_; |
| 353 | 353 |
| 354 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); | 354 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); |
| 355 }; | 355 }; |
| 356 | 356 |
| 357 } // namespace ui | 357 } // namespace ui |
| 358 | 358 |
| 359 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_ | 359 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_ |
| OLD | NEW |