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 CCActiveAnimation_h | 5 #ifndef CC_ACTIVE_ANIMATION_H_ |
6 #define CCActiveAnimation_h | 6 #define CC_ACTIVE_ANIMATION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "cc/cc_export.h" | 10 #include "cc/cc_export.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 class AnimationCurve; | 14 class AnimationCurve; |
15 | 15 |
16 // An ActiveAnimation, contains all the state required to play an AnimationCurve
. | 16 // An ActiveAnimation, contains all the state required to play an AnimationCurve
. |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // uniquely identify an animation). The instance on the impl thread is the i
nstance | 152 // uniquely identify an animation). The instance on the impl thread is the i
nstance |
153 // that ultimately controls the values of the animating layer and so we will
refer | 153 // that ultimately controls the values of the animating layer and so we will
refer |
154 // to it as the 'controlling instance'. | 154 // to it as the 'controlling instance'. |
155 bool m_isControllingInstance; | 155 bool m_isControllingInstance; |
156 | 156 |
157 DISALLOW_COPY_AND_ASSIGN(ActiveAnimation); | 157 DISALLOW_COPY_AND_ASSIGN(ActiveAnimation); |
158 }; | 158 }; |
159 | 159 |
160 } // namespace cc | 160 } // namespace cc |
161 | 161 |
162 #endif // CCActiveAnimation_h | 162 #endif // CC_ACTIVE_ANIMATION_H_ |
OLD | NEW |