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

Unified Diff: third_party/WebKit/public/platform/WebCompositorMutableProperties.h

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase error. Created 5 years 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
« no previous file with comments | « third_party/WebKit/Source/web/web.gypi ('k') | third_party/WebKit/public/platform/WebLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebCompositorMutableProperties.h
diff --git a/third_party/WebKit/public/platform/WebCompositorMutableProperties.h b/third_party/WebKit/public/platform/WebCompositorMutableProperties.h
new file mode 100644
index 0000000000000000000000000000000000000000..63b37973bb7a388aac0b5b0d38a190e8fafb845e
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebCompositorMutableProperties.h
@@ -0,0 +1,24 @@
+// Copyright 2015 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 WebCompositorMutableProperties_h
+#define WebCompositorMutableProperties_h
+
+namespace blink {
+
+// TODO(vollick): we should not need a parallel enum. This must be kept in sync
+// with the cc::MutableProperty enum.
+enum WebCompositorMutableProperty {
+ WebCompositorMutablePropertyNone = 0,
+ WebCompositorMutablePropertyOpacity = 1 << 0,
+ WebCompositorMutablePropertyScrollLeft = 1 << 1,
+ WebCompositorMutablePropertyScrollTop = 1 << 2,
+ WebCompositorMutablePropertyTransform = 1 << 3,
+};
+
+const int kNumWebCompositorMutableProperties = 4;
+
+} // namespace blink
+
+#endif // WebCompositorMutableProperties_h
« no previous file with comments | « third_party/WebKit/Source/web/web.gypi ('k') | third_party/WebKit/public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698