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 CC_ANIMATION_TIMING_FUNCTION_H_ | 5 #ifndef CC_ANIMATION_TIMING_FUNCTION_H_ |
6 #define CC_ANIMATION_TIMING_FUNCTION_H_ | 6 #define CC_ANIMATION_TIMING_FUNCTION_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
10 #include "ui/gfx/geometry/cubic_bezier.h" | 11 #include "ui/gfx/geometry/cubic_bezier.h" |
11 | 12 |
12 namespace cc { | 13 namespace cc { |
13 | 14 |
14 // See http://www.w3.org/TR/css3-transitions/. | 15 // See http://www.w3.org/TR/css3-transitions/. |
15 class CC_EXPORT TimingFunction { | 16 class CC_EXPORT TimingFunction { |
16 public: | 17 public: |
17 virtual ~TimingFunction(); | 18 virtual ~TimingFunction(); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 private: | 101 private: |
101 int steps_; | 102 int steps_; |
102 float steps_start_offset_; | 103 float steps_start_offset_; |
103 | 104 |
104 DISALLOW_ASSIGN(StepsTimingFunction); | 105 DISALLOW_ASSIGN(StepsTimingFunction); |
105 }; | 106 }; |
106 | 107 |
107 } // namespace cc | 108 } // namespace cc |
108 | 109 |
109 #endif // CC_ANIMATION_TIMING_FUNCTION_H_ | 110 #endif // CC_ANIMATION_TIMING_FUNCTION_H_ |
OLD | NEW |