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_CURVE_H_ | 5 #ifndef CC_ANIMATION_CURVE_H_ |
6 #define CC_ANIMATION_CURVE_H_ | 6 #define CC_ANIMATION_CURVE_H_ |
7 | 7 |
8 #include <public/WebTransformationMatrix.h> | |
9 | |
8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
9 #include "cc/cc_export.h" | 11 #include "cc/cc_export.h" |
10 #include <public/WebTransformationMatrix.h> | 12 #include "ui/gfx/transform.h" |
danakj
2012/11/24 02:34:54
seems like this header isn't needed here
| |
13 | |
11 | 14 |
12 namespace cc { | 15 namespace cc { |
13 | 16 |
14 class FloatAnimationCurve; | 17 class FloatAnimationCurve; |
15 class TransformAnimationCurve; | 18 class TransformAnimationCurve; |
16 class TransformOperations; | 19 class TransformOperations; |
17 | 20 |
18 // An animation curve is a function that returns a value given a time. | 21 // An animation curve is a function that returns a value given a time. |
19 // There are currently only two types of curve, float and transform. | 22 // There are currently only two types of curve, float and transform. |
20 class CC_EXPORT AnimationCurve { | 23 class CC_EXPORT AnimationCurve { |
(...skipping 26 matching lines...) Expand all Loading... | |
47 | 50 |
48 virtual WebKit::WebTransformationMatrix getValue(double t) const = 0; | 51 virtual WebKit::WebTransformationMatrix getValue(double t) const = 0; |
49 | 52 |
50 // Partial Animation implementation. | 53 // Partial Animation implementation. |
51 virtual Type type() const OVERRIDE; | 54 virtual Type type() const OVERRIDE; |
52 }; | 55 }; |
53 | 56 |
54 } // namespace cc | 57 } // namespace cc |
55 | 58 |
56 #endif // CC_ANIMATION_CURVE_H_ | 59 #endif // CC_ANIMATION_CURVE_H_ |
OLD | NEW |