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. This must be kept in sync | |
11 // with the cc::MutableProperty enum. | |
12 enum WebCompositorMutableProperty { | |
13 WebCompositorMutablePropertyNone = 0, | |
14 WebCompositorMutablePropertyOpacity = 1 << 0, | |
15 WebCompositorMutablePropertyScrollLeft = 1 << 1, | |
16 WebCompositorMutablePropertyScrollTop = 1 << 2, | |
17 WebCompositorMutablePropertyTransform = 1 << 3, | |
18 }; | |
19 | |
20 const int kNumWebCompositorMutableProperties = 4; | |
21 | |
22 } // namespace blink | |
23 | |
24 #endif // WebCompositorMutableProperties_h | |
OLD | NEW |