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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2269143003: cc : Add OnTransformAnimated to transform tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/trees/layer_tree_host_unittest_picture.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index f52941d430b9dc9e78ac781b3f7e12af163fb7b3..90a2a8b7ab25462a229893d4a9a9558f61839ade 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -294,7 +294,8 @@ class CC_EXPORT LayerTreeImpl {
LayerImpl* LayerById(int id) const;
- // TODO(vollick): this is deprecated. It is used by
+ int LayerIdByElementId(ElementId element_id) const;
+ // TODO(jaydasika): this is deprecated. It is used by
// animation/compositor-worker to look up layers to mutate, but in future, we
// will update property trees.
LayerImpl* LayerByElementId(ElementId element_id) const;
@@ -497,7 +498,7 @@ class CC_EXPORT LayerTreeImpl {
// Set of layers that need to push properties.
std::unordered_set<LayerImpl*> layers_that_should_push_properties_;
- std::unordered_map<ElementId, LayerImpl*, ElementIdHash> element_layers_map_;
+ std::unordered_map<ElementId, int, ElementIdHash> element_layers_map_;
std::unordered_map<int, float> opacity_animations_map_;
std::unordered_map<int, gfx::Transform> transform_animations_map_;
« no previous file with comments | « cc/trees/layer_tree_host_unittest_picture.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698