OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TRANSFORM_OPERATION_H_ | 5 #ifndef CC_ANIMATION_TRANSFORM_OPERATION_H_ |
6 #define CC_ANIMATION_TRANSFORM_OPERATION_H_ | 6 #define CC_ANIMATION_TRANSFORM_OPERATION_H_ |
7 | 7 |
8 #include "ui/gfx/transform.h" | 8 #include "ui/gfx/transform.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 } axis; | 48 } axis; |
49 | 49 |
50 double angle; | 50 double angle; |
51 } rotate; | 51 } rotate; |
52 }; | 52 }; |
53 | 53 |
54 bool IsIdentity() const; | 54 bool IsIdentity() const; |
55 static bool BlendTransformOperations(const TransformOperation* from, | 55 static bool BlendTransformOperations(const TransformOperation* from, |
56 const TransformOperation* to, | 56 const TransformOperation* to, |
57 double progress, | 57 double progress, |
58 gfx::Transform& result); | 58 gfx::Transform* result); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace cc | 61 } // namespace cc |
62 | 62 |
63 #endif // CC_ANIMATION_TRANSFORM_OPERATION_H_ | 63 #endif // CC_ANIMATION_TRANSFORM_OPERATION_H_ |
OLD | NEW |