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

Unified Diff: cc/animation/mutable_properties.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
« no previous file with comments | « cc/animation/layer_tree_mutator.h ('k') | cc/blink/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/mutable_properties.h
diff --git a/cc/animation/mutable_properties.h b/cc/animation/mutable_properties.h
index dfe06b69452228506e940112a5217fe879c164a5..cd17930e3b8ff409b88e1dcc82f06a34582b5358 100644
--- a/cc/animation/mutable_properties.h
+++ b/cc/animation/mutable_properties.h
@@ -7,12 +7,21 @@
namespace cc {
+// TODO(vollick): we can remove this once we're building property trees in
+// blink. We're using this in two places in cc currently. 1) to populate the
+// LayerTreeImpl's element map, and 2) to figure out when we need to add
+// property tree nodes for proxied layers. We can address 1) simply by moving
+// the storage to blink, and 2) will naturally happen as property construction
+// moves to blink.
enum MutableProperty {
kMutablePropertyNone = 0,
kMutablePropertyOpacity = 1 << 0,
kMutablePropertyScrollLeft = 1 << 1,
kMutablePropertyScrollTop = 1 << 2,
kMutablePropertyTransform = 1 << 3,
+ kMutablePropertyTransformRelated = kMutablePropertyTransform |
+ kMutablePropertyScrollLeft |
+ kMutablePropertyScrollTop,
};
} // namespace cc
« no previous file with comments | « cc/animation/layer_tree_mutator.h ('k') | cc/blink/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698