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_OPERATIONS_H_ | 5 #ifndef CC_ANIMATION_TRANSFORM_OPERATIONS_H_ |
6 #define CC_ANIMATION_TRANSFORM_OPERATIONS_H_ | 6 #define CC_ANIMATION_TRANSFORM_OPERATIONS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "cc/animation/transform_operation.h" | 12 #include "cc/animation/transform_operation.h" |
12 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
13 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
14 | 15 |
15 namespace gfx { | 16 namespace gfx { |
16 class BoxF; | 17 class BoxF; |
17 struct DecomposedTransform; | 18 struct DecomposedTransform; |
18 } | 19 } |
19 | 20 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // For efficiency, we cache the decomposed transform. | 102 // For efficiency, we cache the decomposed transform. |
102 mutable scoped_ptr<gfx::DecomposedTransform> decomposed_transform_; | 103 mutable scoped_ptr<gfx::DecomposedTransform> decomposed_transform_; |
103 mutable bool decomposed_transform_dirty_; | 104 mutable bool decomposed_transform_dirty_; |
104 | 105 |
105 DISALLOW_ASSIGN(TransformOperations); | 106 DISALLOW_ASSIGN(TransformOperations); |
106 }; | 107 }; |
107 | 108 |
108 } // namespace cc | 109 } // namespace cc |
109 | 110 |
110 #endif // CC_ANIMATION_TRANSFORM_OPERATIONS_H_ | 111 #endif // CC_ANIMATION_TRANSFORM_OPERATIONS_H_ |
OLD | NEW |