Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(873)

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698