| Index: ui/compositor/compositor.h
|
| diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
|
| index 5222b41d956139a64fb231d456bc22ff0d261f54..98f03a941035f2f31275ac693734df431680406f 100644
|
| --- a/ui/compositor/compositor.h
|
| +++ b/ui/compositor/compositor.h
|
| @@ -44,6 +44,7 @@ class LayerTreeHost;
|
| class RendererSettings;
|
| class SharedBitmapManager;
|
| class SurfaceIdAllocator;
|
| +class SurfaceManager;
|
| class TaskGraphRunner;
|
| }
|
|
|
| @@ -111,9 +112,12 @@ class COMPOSITOR_EXPORT ContextFactory {
|
| // Gets the task graph runner.
|
| virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
|
|
|
| - // Creates a Surface ID allocator with a new namespace.
|
| + // Creates a Surface ID allocator with a new namespace, registered with
|
| + // this context factory's surface manager.
|
| virtual scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() = 0;
|
|
|
| + virtual cc::SurfaceManager* GetSurfaceManager() = 0;
|
| +
|
| // Resize the display corresponding to this compositor to a particular size.
|
| virtual void ResizeDisplay(ui::Compositor* compositor,
|
| const gfx::Size& size) = 0;
|
|
|