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

Unified Diff: ui/compositor/compositor.h

Issue 1959183003: Add GetSurfaceManager to ui::ContextFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « ash/mus/stub_context_factory.cc ('k') | ui/compositor/test/in_process_context_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index d41a1d7f2c30d5ec2dcdb145405f23240a0867a6..b096551d10e245fc1d6ac0c9c87434bbb2a212e3 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;
}
@@ -116,6 +117,9 @@ class COMPOSITOR_EXPORT ContextFactory {
virtual std::unique_ptr<cc::SurfaceIdAllocator>
CreateSurfaceIdAllocator() = 0;
+ // Gets the surface manager.
+ 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;
« no previous file with comments | « ash/mus/stub_context_factory.cc ('k') | ui/compositor/test/in_process_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698