Chromium Code Reviews| Index: cc/animation/mutable_properties.h |
| diff --git a/cc/animation/mutable_properties.h b/cc/animation/mutable_properties.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b42425cbe067da8a59435fdf8abb07b2df312db5 |
| --- /dev/null |
| +++ b/cc/animation/mutable_properties.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CC_ANIMATION_MUTABLE_PROPERTIES_H_ |
| +#define CC_ANIMATION_MUTABLE_PROPERTIES_H_ |
| + |
| +namespace cc { |
| + |
| +enum MutableProperty { |
|
enne (OOO)
2015/11/10 00:11:41
Kind of sad this has to be duplicated in platform.
Ian Vollick
2015/11/10 20:30:14
Agree that this is sad. I couldn't find a nice way
|
| + kMutablePropertyNone = 0, |
| + kMutablePropertyOpacity = 1 << 0, |
| + kMutablePropertyScrollLeft = 1 << 1, |
| + kMutablePropertyScrollTop = 1 << 2, |
| + kMutablePropertyTransform = 1 << 3, |
| + kMutablePropertyTransformRelated = kMutablePropertyTransform | |
| + kMutablePropertyScrollTop | |
| + kMutablePropertyScrollLeft |
| +}; |
| + |
| +} // namespace cc |
| + |
| +#endif // CC_ANIMATION_MUTABLE_PROPERTIES_H_ |