| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MUTABLE_PROPERTIES_H_ | 5 #ifndef CC_ANIMATION_MUTABLE_PROPERTIES_H_ |
| 6 #define CC_ANIMATION_MUTABLE_PROPERTIES_H_ | 6 #define CC_ANIMATION_MUTABLE_PROPERTIES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 namespace cc { | 10 namespace cc { |
| 9 | 11 |
| 10 enum MutableProperty { | 12 struct MutableProperty { |
| 11 kMutablePropertyNone = 0, | 13 enum : uint32_t { kNone = 0 }; |
| 12 kMutablePropertyOpacity = 1 << 0, | 14 enum : uint32_t { kOpacity = 1 << 0 }; |
| 13 kMutablePropertyScrollLeft = 1 << 1, | 15 enum : uint32_t { kScrollLeft = 1 << 1 }; |
| 14 kMutablePropertyScrollTop = 1 << 2, | 16 enum : uint32_t { kScrollTop = 1 << 2 }; |
| 15 kMutablePropertyTransform = 1 << 3, | 17 enum : uint32_t { kTransform = 1 << 3 }; |
| 18 |
| 19 enum : int { kNumProperties = 4 }; |
| 16 }; | 20 }; |
| 17 | 21 |
| 18 } // namespace cc | 22 } // namespace cc |
| 19 | 23 |
| 20 #endif // CC_ANIMATION_MUTABLE_PROPERTIES_H_ | 24 #endif // CC_ANIMATION_MUTABLE_PROPERTIES_H_ |
| OLD | NEW |