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/animation/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 ElementAnimations; | |
30 class Layer; | 29 class Layer; |
31 } | 30 } |
32 | 31 |
33 namespace gfx { | 32 namespace gfx { |
34 class Animation; | 33 class Animation; |
35 class Rect; | 34 class Rect; |
36 class Transform; | 35 class Transform; |
37 } | 36 } |
38 | 37 |
39 namespace ui { | 38 namespace ui { |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 // Observers are notified when layer animations end, are scheduled or are | 404 // Observers are notified when layer animations end, are scheduled or are |
406 // aborted. | 405 // aborted. |
407 base::ObserverList<LayerAnimationObserver> observers_; | 406 base::ObserverList<LayerAnimationObserver> observers_; |
408 | 407 |
409 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); | 408 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); |
410 }; | 409 }; |
411 | 410 |
412 } // namespace ui | 411 } // namespace ui |
413 | 412 |
414 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_ | 413 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_ |
OLD | NEW |