| 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_ANIMATION_H_ | 5 #ifndef CC_ANIMATION_ANIMATION_H_ |
| 6 #define CC_ANIMATION_ANIMATION_H_ | 6 #define CC_ANIMATION_ANIMATION_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 12 | 12 |
| 13 namespace cc { | 13 namespace cc { |
| 14 | 14 |
| 15 class AnimationCurve; | 15 class AnimationCurve; |
| 16 | 16 |
| 17 // An Animation contains all the state required to play an AnimationCurve. | 17 // An Animation contains all the state required to play an AnimationCurve. |
| 18 // Specifically, the affected property, the run state (paused, finished, etc.), | 18 // Specifically, the affected property, the run state (paused, finished, etc.), |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 // longer affect any observers, and are deleted. | 244 // longer affect any observers, and are deleted. |
| 245 bool affects_active_observers_; | 245 bool affects_active_observers_; |
| 246 bool affects_pending_observers_; | 246 bool affects_pending_observers_; |
| 247 | 247 |
| 248 DISALLOW_COPY_AND_ASSIGN(Animation); | 248 DISALLOW_COPY_AND_ASSIGN(Animation); |
| 249 }; | 249 }; |
| 250 | 250 |
| 251 } // namespace cc | 251 } // namespace cc |
| 252 | 252 |
| 253 #endif // CC_ANIMATION_ANIMATION_H_ | 253 #endif // CC_ANIMATION_ANIMATION_H_ |
| OLD | NEW |