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

Unified Diff: ash/mus/stub_context_factory.h

Issue 1808313002: Register surface namespace in BlimpUiContextFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move SurfaceManager to ContextFactory Created 4 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
« no previous file with comments | « no previous file | ash/mus/stub_context_factory.cc » ('j') | ui/compositor/test/in_process_context_factory.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/stub_context_factory.h
diff --git a/ash/mus/stub_context_factory.h b/ash/mus/stub_context_factory.h
index 0693f28603ade9b2353e7d9dbaa7f143a46d8ee5..c019594ca7e7806506002e8334c357d984a08030 100644
--- a/ash/mus/stub_context_factory.h
+++ b/ash/mus/stub_context_factory.h
@@ -36,12 +36,14 @@ class StubContextFactory : public ui::ContextFactory {
cc::SharedBitmapManager* GetSharedBitmapManager() override;
gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
cc::TaskGraphRunner* GetTaskGraphRunner() override;
+ cc::SurfaceManager* GetSurfaceManager() override;
scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
void ResizeDisplay(ui::Compositor* compositor,
const gfx::Size& size) override;
uint32_t next_surface_id_namespace_;
scoped_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
+ scoped_ptr<cc::SurfaceManager> surface_manager_;
DISALLOW_COPY_AND_ASSIGN(StubContextFactory);
};
« no previous file with comments | « no previous file | ash/mus/stub_context_factory.cc » ('j') | ui/compositor/test/in_process_context_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698