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

Unified Diff: cc/trees/layer_tree.h

Issue 2331983002: cc: Make LayerTreeHost a protected Layer member. (Closed)
Patch Set: settings Created 4 years, 3 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/test/fake_layer_tree_host.h ('k') | cc/trees/layer_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree.h
diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h
index 5fc254aaddec4462ef087cde75ecd97b33599423..7bf43eb47b89863e91fb22ba506e4de86678005b 100644
--- a/cc/trees/layer_tree.h
+++ b/cc/trees/layer_tree.h
@@ -124,6 +124,10 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
void SetNeedsDisplayOnAllLayers();
+ void SetNeedsCommit();
+
+ const LayerTreeSettings& GetSettings() const;
+
// Methods which should only be used internally in cc ------------------
void RegisterLayer(Layer* layer);
void UnregisterLayer(Layer* layer);
@@ -154,7 +158,6 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
virtual void SetNeedsFullTreeSync();
bool needs_full_tree_sync() const { return needs_full_tree_sync_; }
- void SetNeedsCommit();
void SetPropertyTreesNeedRebuild();
void PushPropertiesTo(LayerTreeImpl* tree_impl);
@@ -173,6 +176,8 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
Layer* layer);
void SetElementIdsForTesting();
+ void BuildPropertyTreesForTesting();
+
// Layer iterators.
LayerListIterator<Layer> begin() const;
LayerListIterator<Layer> end() const;
« no previous file with comments | « cc/test/fake_layer_tree_host.h ('k') | cc/trees/layer_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698