OLD | NEW |
(Empty) | |
| 1 // Copyright 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 CompositorMutableProperties_h |
| 6 #define CompositorMutableProperties_h |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 // TODO(vollick): we should not need a parallel enum. This must be kept in sync |
| 11 // with the cc::MutableProperty enum. Once we build property trees in blink, the |
| 12 // compositor does not need to know about these mutable properties and the |
| 13 // compositor-side enumeration can be removed. |
| 14 enum CompositorMutableProperty { |
| 15 CompositorMutablePropertyNone = 0, |
| 16 CompositorMutablePropertyOpacity = 1 << 0, |
| 17 CompositorMutablePropertyScrollLeft = 1 << 1, |
| 18 CompositorMutablePropertyScrollTop = 1 << 2, |
| 19 CompositorMutablePropertyTransform = 1 << 3, |
| 20 }; |
| 21 |
| 22 const int kNumCompositorMutableProperties = 4; |
| 23 |
| 24 } // namespace blink |
| 25 |
| 26 #endif // CompositorMutableProperties_h |
OLD | NEW |