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

Unified Diff: cc/trees/layer_tree.h

Issue 2322943003: cc: Move UI Resource management out of LayerTreeHost. (Closed)
Patch Set: virtual dtor 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_scoped_ui_resource.cc ('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 e731d4b1c9d900dddb3c53b791a39a2b4652b629..77d105c84d16bc81af816756b5673297f4be8db1 100644
--- a/cc/trees/layer_tree.h
+++ b/cc/trees/layer_tree.h
@@ -37,7 +37,9 @@ class HeadsUpDisplayLayer;
class Layer;
class LayerTreeHost;
class LayerTreeImpl;
+class LayerTreeSettings;
struct PendingPageScaleAnimation;
+class UIResourceManager;
class CC_EXPORT LayerTree : public MutatorHostClient {
public:
@@ -120,6 +122,9 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
void SetNeedsDisplayOnAllLayers();
+ UIResourceManager* GetUIResourceManager() const;
+ const LayerTreeSettings& GetSettings() const;
+
// Methods which should only be used internally in cc ------------------
void RegisterLayer(Layer* layer);
void UnregisterLayer(Layer* layer);
« no previous file with comments | « cc/test/fake_scoped_ui_resource.cc ('k') | cc/trees/layer_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698