OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CC_ANIMATION_TARGET_PROPERTY_H_ |
| 6 #define CC_ANIMATION_TARGET_PROPERTY_H_ |
| 7 |
| 8 namespace cc { |
| 9 |
| 10 namespace TargetProperty { |
| 11 |
| 12 enum Type { |
| 13 TRANSFORM = 0, |
| 14 OPACITY, |
| 15 FILTER, |
| 16 SCROLL_OFFSET, |
| 17 BACKGROUND_COLOR, |
| 18 // This sentinel must be last. |
| 19 LAST_TARGET_PROPERTY = BACKGROUND_COLOR |
| 20 }; |
| 21 |
| 22 const char* GetName(TargetProperty::Type property); |
| 23 |
| 24 } // namespace TargetProperty |
| 25 |
| 26 } // namespace cc |
| 27 |
| 28 #endif // CC_ANIMATION_TARGET_PROPERTY_H_ |
OLD | NEW |