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

Unified Diff: ui/compositor/compositor.h

Issue 2322943003: cc: Move UI Resource management out of LayerTreeHost. (Closed)
Patch Set: format 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
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index a98e920722cd4d7535e476096a4843b86dc756a2..b19f803856d9e6d462edc7bd6687f484d11931ea 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -42,7 +42,7 @@ class AnimationTimeline;
class ContextProvider;
class Layer;
class LayerTreeDebugState;
-class LayerTreeHost;
+class LayerTreeHostInterface;
class RendererSettings;
class SharedBitmapManager;
class SurfaceIdAllocator;
@@ -416,7 +416,7 @@ class COMPOSITOR_EXPORT Compositor
bool output_surface_requested_;
std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
scoped_refptr<cc::Layer> root_web_layer_;
- std::unique_ptr<cc::LayerTreeHost> host_;
+ std::unique_ptr<cc::LayerTreeHostInterface> host_;
danakj 2016/09/08 20:58:46 It's always an inprocess LTH for ui::Compositor, s
Khushal 2016/09/08 22:05:24 This is probably not decided at all, but what's go
danakj 2016/09/08 22:37:12 If MUS was just the DisplayCompositor, it would re
Khushal 2016/09/08 23:56:05 Okay, sounds good.
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
// The manager of vsync parameters for this compositor.
« cc/trees/layer_tree_host.cc ('K') | « ui/android/resources/resource_manager_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698