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

Unified Diff: ui/compositor/compositor.h

Issue 999173004: cc: Move worker threads to content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment and webview fix Created 5 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
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index 3a3e4cc829b1d675a2d3d64a7a139c69d94842a1..5bdfbd9503afef64177fe0ca3390569eaede22cb 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -38,6 +38,7 @@ class LayerTreeHost;
class RendererSettings;
class SharedBitmapManager;
class SurfaceIdAllocator;
+class TaskGraphRunner;
}
namespace gfx {
@@ -98,6 +99,9 @@ class COMPOSITOR_EXPORT ContextFactory {
// Gets the GPU memory buffer manager.
virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0;
+ // Gets the task graph runner.
+ virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
+
// Creates a Surface ID allocator with a new namespace.
virtual scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() = 0;

Powered by Google App Engine
This is Rietveld 408576698