OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CCKeyframedAnimationCurve_h | 5 #ifndef CCKeyframedAnimationCurve_h |
6 #define CCKeyframedAnimationCurve_h | 6 #define CCKeyframedAnimationCurve_h |
7 | 7 |
8 #include "CCAnimationCurve.h" | 8 #include "cc/animation_curve.h" |
9 #include "CCTimingFunction.h" | 9 #include "cc/timing_function.h" |
10 #include "scoped_ptr_vector.h" | 10 #include "scoped_ptr_vector.h" |
11 #include <public/WebTransformOperations.h> | 11 #include <public/WebTransformOperations.h> |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 | 14 |
15 class CCKeyframe { | 15 class CCKeyframe { |
16 public: | 16 public: |
17 double time() const; | 17 double time() const; |
18 const CCTimingFunction* timingFunction() const; | 18 const CCTimingFunction* timingFunction() const; |
19 | 19 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 CCKeyframedTransformAnimationCurve(); | 100 CCKeyframedTransformAnimationCurve(); |
101 | 101 |
102 // Always sorted in order of increasing time. No two keyframes have the | 102 // Always sorted in order of increasing time. No two keyframes have the |
103 // same time. | 103 // same time. |
104 ScopedPtrVector<CCTransformKeyframe> m_keyframes; | 104 ScopedPtrVector<CCTransformKeyframe> m_keyframes; |
105 }; | 105 }; |
106 | 106 |
107 } // namespace cc | 107 } // namespace cc |
108 | 108 |
109 #endif // CCKeyframedAnimationCurve_h | 109 #endif // CCKeyframedAnimationCurve_h |
OLD | NEW |