Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h | 
| diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h b/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..f9390d6a9f16acc9aee0f1500202295e7621f590 | 
| --- /dev/null | 
| +++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h | 
| @@ -0,0 +1,26 @@ | 
| +// Copyright 2016 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 CompositorMutableProperties_h | 
| +#define CompositorMutableProperties_h | 
| + | 
| +namespace blink { | 
| + | 
| +// TODO(vollick): we should not need a parallel enum. This must be kept in sync | 
| +// with the cc::MutableProperty enum. Once we build property trees in blink, the | 
| +// compositor does not need to know about these mutable properties and the | 
| +// compositor-side enumeration can be removed. | 
| +enum CompositorMutableProperty { | 
| 
 
esprehn
2016/01/21 20:05:25
Talk to Dana about how to remove this she removed
 
Ian Vollick
2016/01/21 20:08:37
Sounds good. I'll ask her.
 
danakj
2016/01/21 20:54:26
First, bitmask flags aren't enums (a set of things
 
 | 
| + CompositorMutablePropertyNone = 0, | 
| + CompositorMutablePropertyOpacity = 1 << 0, | 
| + CompositorMutablePropertyScrollLeft = 1 << 1, | 
| + CompositorMutablePropertyScrollTop = 1 << 2, | 
| + CompositorMutablePropertyTransform = 1 << 3, | 
| +}; | 
| + | 
| +const int kNumCompositorMutableProperties = 4; | 
| 
 
danakj
2016/01/21 20:54:26
Don't use storage for constants in header files. h
 
 | 
| + | 
| +} // namespace blink | 
| + | 
| +#endif // CompositorMutableProperties_h |