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_GFX_COMPOSITOR_LAYER_ANIMATOR_H_ | 5 #ifndef UI_COMPOSITOR_LAYER_ANIMATOR_H_ |
6 #define UI_GFX_COMPOSITOR_LAYER_ANIMATOR_H_ | 6 #define UI_COMPOSITOR_LAYER_ANIMATOR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "ui/base/animation/animation_container_element.h" | 17 #include "ui/base/animation/animation_container_element.h" |
18 #include "ui/base/animation/tween.h" | 18 #include "ui/base/animation/tween.h" |
19 #include "ui/gfx/compositor/compositor_export.h" | 19 #include "ui/compositor/compositor_export.h" |
20 #include "ui/gfx/compositor/layer_animation_element.h" | 20 #include "ui/compositor/layer_animation_element.h" |
21 | 21 |
22 namespace gfx { | 22 namespace gfx { |
23 class Rect; | 23 class Rect; |
24 } | 24 } |
25 | 25 |
26 namespace ui { | 26 namespace ui { |
27 class Animation; | 27 class Animation; |
28 class Layer; | 28 class Layer; |
29 class LayerAnimationSequence; | 29 class LayerAnimationSequence; |
30 class LayerAnimationDelegate; | 30 class LayerAnimationDelegate; |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 274 |
275 // Observers are notified when layer animations end, are scheduled or are | 275 // Observers are notified when layer animations end, are scheduled or are |
276 // aborted. | 276 // aborted. |
277 ObserverList<LayerAnimationObserver> observers_; | 277 ObserverList<LayerAnimationObserver> observers_; |
278 | 278 |
279 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); | 279 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); |
280 }; | 280 }; |
281 | 281 |
282 } // namespace ui | 282 } // namespace ui |
283 | 283 |
284 #endif // UI_GFX_COMPOSITOR_LAYER_ANIMATOR_H_ | 284 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_ |
OLD | NEW |