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

Unified Diff: cc/animation/mutable_properties.h

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed layout test (and logged bug) Created 5 years, 1 month 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: cc/animation/mutable_properties.h
diff --git a/cc/animation/mutable_properties.h b/cc/animation/mutable_properties.h
new file mode 100644
index 0000000000000000000000000000000000000000..b42425cbe067da8a59435fdf8abb07b2df312db5
--- /dev/null
+++ b/cc/animation/mutable_properties.h
@@ -0,0 +1,23 @@
+// 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 CC_ANIMATION_MUTABLE_PROPERTIES_H_
+#define CC_ANIMATION_MUTABLE_PROPERTIES_H_
+
+namespace cc {
+
+enum MutableProperty {
enne (OOO) 2015/11/10 00:11:41 Kind of sad this has to be duplicated in platform.
Ian Vollick 2015/11/10 20:30:14 Agree that this is sad. I couldn't find a nice way
+ kMutablePropertyNone = 0,
+ kMutablePropertyOpacity = 1 << 0,
+ kMutablePropertyScrollLeft = 1 << 1,
+ kMutablePropertyScrollTop = 1 << 2,
+ kMutablePropertyTransform = 1 << 3,
+ kMutablePropertyTransformRelated = kMutablePropertyTransform |
+ kMutablePropertyScrollTop |
+ kMutablePropertyScrollLeft
+};
+
+} // namespace cc
+
+#endif // CC_ANIMATION_MUTABLE_PROPERTIES_H_
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.h » ('j') | third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698