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 { |
+ CompositorMutablePropertyNone = 0, |
+ CompositorMutablePropertyOpacity = 1 << 0, |
+ CompositorMutablePropertyScrollLeft = 1 << 1, |
+ CompositorMutablePropertyScrollTop = 1 << 2, |
+ CompositorMutablePropertyTransform = 1 << 3, |
+}; |
+ |
+const int kNumCompositorMutableProperties = 4; |
+ |
+} // namespace blink |
+ |
+#endif // CompositorMutableProperties_h |