| 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/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 Finished, | 35 Finished, |
| 36 Aborted, | 36 Aborted, |
| 37 // This sentinel must be last. | 37 // This sentinel must be last. |
| 38 RunStateEnumSize | 38 RunStateEnumSize |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 enum TargetProperty { | 41 enum TargetProperty { |
| 42 Transform = 0, | 42 Transform = 0, |
| 43 Opacity, | 43 Opacity, |
| 44 Filter, | 44 Filter, |
| 45 ScrollOffset, |
| 45 BackgroundColor, | 46 BackgroundColor, |
| 46 ScrollOffset, | |
| 47 // This sentinel must be last. | 47 // This sentinel must be last. |
| 48 TargetPropertyEnumSize | 48 TargetPropertyEnumSize |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 static scoped_ptr<Animation> Create(scoped_ptr<AnimationCurve> curve, | 51 static scoped_ptr<Animation> Create(scoped_ptr<AnimationCurve> curve, |
| 52 int animation_id, | 52 int animation_id, |
| 53 int group_id, | 53 int group_id, |
| 54 TargetProperty target_property); | 54 TargetProperty target_property); |
| 55 | 55 |
| 56 virtual ~Animation(); | 56 virtual ~Animation(); |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 bool is_controlling_instance_; | 183 bool is_controlling_instance_; |
| 184 | 184 |
| 185 bool is_impl_only_; | 185 bool is_impl_only_; |
| 186 | 186 |
| 187 DISALLOW_COPY_AND_ASSIGN(Animation); | 187 DISALLOW_COPY_AND_ASSIGN(Animation); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace cc | 190 } // namespace cc |
| 191 | 191 |
| 192 #endif // CC_ANIMATION_ANIMATION_H_ | 192 #endif // CC_ANIMATION_ANIMATION_H_ |
| OLD | NEW |