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_TRANSFORM_ANIMATION_CURVE_ADAPTER_H_ | 5 #ifndef UI_COMPOSITOR_TRANSFORM_ANIMATION_CURVE_ADAPTER_H_ |
6 #define UI_COMPOSITOR_TRANSFORM_ANIMATION_CURVE_ADAPTER_H_ | 6 #define UI_COMPOSITOR_TRANSFORM_ANIMATION_CURVE_ADAPTER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/time/time.h" | 10 #include "base/time/time.h" |
10 #include "cc/animation/animation_curve.h" | 11 #include "cc/animation/animation_curve.h" |
11 #include "ui/compositor/compositor_export.h" | 12 #include "ui/compositor/compositor_export.h" |
12 #include "ui/gfx/animation/tween.h" | 13 #include "ui/gfx/animation/tween.h" |
13 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
14 #include "ui/gfx/transform_util.h" | 15 #include "ui/gfx/transform_util.h" |
15 | 16 |
16 namespace ui { | 17 namespace ui { |
17 | 18 |
18 class COMPOSITOR_EXPORT TransformAnimationCurveAdapter | 19 class COMPOSITOR_EXPORT TransformAnimationCurveAdapter |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 gfx::Transform effective_initial_value_; | 81 gfx::Transform effective_initial_value_; |
81 base::TimeDelta duration_; | 82 base::TimeDelta duration_; |
82 | 83 |
83 DISALLOW_ASSIGN(InverseTransformCurveAdapter); | 84 DISALLOW_ASSIGN(InverseTransformCurveAdapter); |
84 }; | 85 }; |
85 | 86 |
86 } // namespace ui | 87 } // namespace ui |
87 | 88 |
88 #endif // UI_COMPOSITOR_TRANSFORM_ANIMATION_CURVE_ADAPTER_H_ | 89 #endif // UI_COMPOSITOR_TRANSFORM_ANIMATION_CURVE_ADAPTER_H_ |
89 | 90 |
OLD | NEW |