Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebCompositorMutableProperties_h | |
| 6 #define WebCompositorMutableProperties_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 // TODO(vollick): we should not need a parallel enum. | |
|
chrishtr
2015/11/24 16:22:50
Add a note that this has to be kept in sync with t
Ian Vollick
2015/11/25 18:28:45
Done.
| |
| 11 enum WebCompositorMutableProperty { | |
| 12 WebCompositorMutablePropertyNone = 0, | |
| 13 WebCompositorMutablePropertyOpacity = 1 << 0, | |
| 14 WebCompositorMutablePropertyScrollLeft = 1 << 1, | |
| 15 WebCompositorMutablePropertyScrollTop = 1 << 2, | |
| 16 WebCompositorMutablePropertyTransform = 1 << 3, | |
| 17 }; | |
| 18 | |
| 19 const int kNumWebCompositorMutableProperties = 4; | |
| 20 | |
| 21 } // namespace blink | |
| 22 | |
| 23 #endif // WebCompositorMutableProperties_h | |
| OLD | NEW |