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 CC_TIMING_FUNCTION_H_ |
6 #define CCTimingFunction_h | 6 #define CC_TIMING_FUNCTION_H_ |
7 | 7 |
8 #include "UnitBezier.h" | 8 #include "UnitBezier.h" |
9 #include "cc/animation_curve.h" | 9 #include "cc/animation_curve.h" |
10 #include "cc/cc_export.h" | 10 #include "cc/cc_export.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 // See http://www.w3.org/TR/css3-transitions/. | 14 // See http://www.w3.org/TR/css3-transitions/. |
15 class CC_EXPORT TimingFunction : public FloatAnimationCurve { | 15 class CC_EXPORT TimingFunction : public FloatAnimationCurve { |
16 public: | 16 public: |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 static scoped_ptr<TimingFunction> create(); | 53 static scoped_ptr<TimingFunction> create(); |
54 }; | 54 }; |
55 | 55 |
56 class CC_EXPORT EaseInOutTimingFunction { | 56 class CC_EXPORT EaseInOutTimingFunction { |
57 public: | 57 public: |
58 static scoped_ptr<TimingFunction> create(); | 58 static scoped_ptr<TimingFunction> create(); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace cc | 61 } // namespace cc |
62 | 62 |
63 #endif // CCTimingFunction_h | 63 #endif // CC_TIMING_FUNCTION_H_ |
OLD | NEW |