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_ANIMATION_ELEMENT_H_ | 5 #ifndef UI_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ |
6 #define UI_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ | 6 #define UI_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "cc/animation/animation.h" | 15 #include "cc/animation/animation.h" |
16 #include "cc/animation/animation_events.h" | |
17 #include "third_party/skia/include/core/SkColor.h" | 16 #include "third_party/skia/include/core/SkColor.h" |
18 #include "ui/compositor/compositor_export.h" | 17 #include "ui/compositor/compositor_export.h" |
19 #include "ui/gfx/animation/tween.h" | 18 #include "ui/gfx/animation/tween.h" |
20 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
21 #include "ui/gfx/transform.h" | 20 #include "ui/gfx/transform.h" |
22 | 21 |
23 namespace ui { | 22 namespace ui { |
24 | 23 |
25 class InterpolatedTransform; | 24 class InterpolatedTransform; |
26 class LayerAnimationDelegate; | 25 class LayerAnimationDelegate; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 double last_progressed_fraction_; | 240 double last_progressed_fraction_; |
242 | 241 |
243 base::WeakPtrFactory<LayerAnimationElement> weak_ptr_factory_; | 242 base::WeakPtrFactory<LayerAnimationElement> weak_ptr_factory_; |
244 | 243 |
245 DISALLOW_ASSIGN(LayerAnimationElement); | 244 DISALLOW_ASSIGN(LayerAnimationElement); |
246 }; | 245 }; |
247 | 246 |
248 } // namespace ui | 247 } // namespace ui |
249 | 248 |
250 #endif // UI_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ | 249 #endif // UI_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ |
OLD | NEW |