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 CCTimingFunction_h | 5 #ifndef CCTimingFunction_h |
6 #define CCTimingFunction_h | 6 #define CCTimingFunction_h |
7 | 7 |
8 #include "CCAnimationCurve.h" | 8 #include "cc/animation_curve.h" |
9 #include "UnitBezier.h" | 9 #include "UnitBezier.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 // See http://www.w3.org/TR/css3-transitions/. | 13 // See http://www.w3.org/TR/css3-transitions/. |
14 class CCTimingFunction : public CCFloatAnimationCurve { | 14 class CCTimingFunction : public CCFloatAnimationCurve { |
15 public: | 15 public: |
16 virtual ~CCTimingFunction(); | 16 virtual ~CCTimingFunction(); |
17 | 17 |
18 // Partial implementation of CCFloatAnimationCurve. | 18 // Partial implementation of CCFloatAnimationCurve. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 }; | 53 }; |
54 | 54 |
55 class CCEaseInOutTimingFunction { | 55 class CCEaseInOutTimingFunction { |
56 public: | 56 public: |
57 static scoped_ptr<CCTimingFunction> create(); | 57 static scoped_ptr<CCTimingFunction> create(); |
58 }; | 58 }; |
59 | 59 |
60 } // namespace cc | 60 } // namespace cc |
61 | 61 |
62 #endif // CCTimingFunction_h | 62 #endif // CCTimingFunction_h |
OLD | NEW |