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

Unified Diff: cc/trees/tree_synchronizer.h

Issue 1808373002: cc : Make tree synchronization independent of layer tree hierarchy (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_serialization.cc ('k') | cc/trees/tree_synchronizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/tree_synchronizer.h
diff --git a/cc/trees/tree_synchronizer.h b/cc/trees/tree_synchronizer.h
index 2e6e8f09092aa8bd0f0006e208eda8f9ffea61c2..3c873741ad0539b6116140861baee8dc319895c1 100644
--- a/cc/trees/tree_synchronizer.h
+++ b/cc/trees/tree_synchronizer.h
@@ -12,6 +12,7 @@
namespace cc {
class LayerImpl;
+class LayerTreeHost;
class LayerTreeImpl;
class Layer;
@@ -28,21 +29,14 @@ class CC_EXPORT TreeSynchronizer {
LayerImpl* layer_root,
scoped_ptr<LayerImpl> old_layer_impl_root,
LayerTreeImpl* tree_impl);
-
- // Pushes properties from a Layer or LayerImpl tree to a structurally
- // equivalent LayerImpl tree.
- static void PushProperties(Layer* layer_root,
- LayerImpl* layer_impl_root);
- static void PushProperties(LayerImpl* layer_root, LayerImpl* layer_impl_root);
+ static void PushLayerProperties(LayerTreeImpl* pending_tree,
+ LayerTreeImpl* active_tree);
+ static void PushLayerProperties(LayerTreeHost* host_tree,
+ LayerTreeImpl* impl_tree);
private:
TreeSynchronizer(); // Not instantiable.
- static void PushPropertiesInternal(
- Layer* layer,
- LayerImpl* layer_impl,
- int* num_dependents_need_push_properties_for_parent);
-
DISALLOW_COPY_AND_ASSIGN(TreeSynchronizer);
};
« no previous file with comments | « cc/trees/layer_tree_host_unittest_serialization.cc ('k') | cc/trees/tree_synchronizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698