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

Unified Diff: cc/trees/layer_tree_host.h

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « cc/trees/channel_main.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index f7bd43368c3abde927cf59c358cf6ea2273b141b..0f3080842783b56b3f5bf379180d59f737dbe8dd 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -59,6 +59,7 @@ class Layer;
class LayerTreeHostImpl;
class LayerTreeHostImplClient;
class LayerTreeHostSingleThreadClient;
+class LayerTreeMutator;
class PropertyTrees;
class Region;
class RenderingStatsInstrumentation;
@@ -242,6 +243,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
base::TimeDelta duration);
void ApplyScrollAndScale(ScrollAndScaleSet* info);
+ void ApplyMutations(LayerTreeMutationMap* mutations);
void SetImplTransform(const gfx::Transform& transform);
void SetDeviceScaleFactor(float device_scale_factor);
@@ -323,6 +325,8 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events);
+ void SetLayerTreeMutator(LayerTreeMutator* mutator);
+
Layer* LayerById(int id) const;
void RegisterLayer(Layer* layer);
void UnregisterLayer(Layer* layer);
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698