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_ANIMATION_ELEMENT_H_ | 5 #ifndef UI_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ |
6 #define UI_GFX_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ | 6 #define UI_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/time.h" | 11 #include "base/time.h" |
12 #include "ui/base/animation/tween.h" | 12 #include "ui/base/animation/tween.h" |
13 #include "ui/gfx/compositor/compositor_export.h" | 13 #include "ui/compositor/compositor_export.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
15 #include "ui/gfx/transform.h" | 15 #include "ui/gfx/transform.h" |
16 | 16 |
17 namespace ui { | 17 namespace ui { |
18 | 18 |
19 class InterpolatedTransform; | 19 class InterpolatedTransform; |
20 class LayerAnimationDelegate; | 20 class LayerAnimationDelegate; |
21 class Transform; | 21 class Transform; |
22 | 22 |
23 // LayerAnimationElements represent one segment of an animation between two | 23 // LayerAnimationElements represent one segment of an animation between two |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 bool first_frame_; | 124 bool first_frame_; |
125 const AnimatableProperties properties_; | 125 const AnimatableProperties properties_; |
126 const base::TimeDelta duration_; | 126 const base::TimeDelta duration_; |
127 Tween::Type tween_type_; | 127 Tween::Type tween_type_; |
128 | 128 |
129 DISALLOW_COPY_AND_ASSIGN(LayerAnimationElement); | 129 DISALLOW_COPY_AND_ASSIGN(LayerAnimationElement); |
130 }; | 130 }; |
131 | 131 |
132 } // namespace ui | 132 } // namespace ui |
133 | 133 |
134 #endif // UI_GFX_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ | 134 #endif // UI_COMPOSITOR_LAYER_ANIMATION_ELEMENT_H_ |
OLD | NEW |