| 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 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "cc/animation/animation_delegate.h" | 18 #include "cc/animation/animation_delegate.h" |
| 19 #include "cc/animation/target_property.h" | 19 #include "cc/trees/target_property.h" |
| 20 #include "ui/compositor/compositor_export.h" | 20 #include "ui/compositor/compositor_export.h" |
| 21 #include "ui/compositor/layer_animation_element.h" | 21 #include "ui/compositor/layer_animation_element.h" |
| 22 #include "ui/compositor/layer_threaded_animation_delegate.h" | 22 #include "ui/compositor/layer_threaded_animation_delegate.h" |
| 23 #include "ui/gfx/animation/tween.h" | 23 #include "ui/gfx/animation/tween.h" |
| 24 | 24 |
| 25 namespace cc { | 25 namespace cc { |
| 26 class Animation; | 26 class Animation; |
| 27 class AnimationPlayer; | 27 class AnimationPlayer; |
| 28 class AnimationTimeline; | 28 class AnimationTimeline; |
| 29 class Layer; | 29 class Layer; |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 // Observers are notified when layer animations end, are scheduled or are | 404 // Observers are notified when layer animations end, are scheduled or are |
| 405 // aborted. | 405 // aborted. |
| 406 base::ObserverList<LayerAnimationObserver> observers_; | 406 base::ObserverList<LayerAnimationObserver> observers_; |
| 407 | 407 |
| 408 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); | 408 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); |
| 409 }; | 409 }; |
| 410 | 410 |
| 411 } // namespace ui | 411 } // namespace ui |
| 412 | 412 |
| 413 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_ | 413 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_ |
| OLD | NEW |