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

Unified Diff: cc/surfaces/surface_manager.h

Issue 2824053003: Split SurfaceFactoryClient Into Four Interfaces (Closed)
Patch Set: Address Nits Created 3 years, 8 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 | « cc/surfaces/surface_factory_unittest.cc ('k') | cc/surfaces/surface_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_manager.h
diff --git a/cc/surfaces/surface_manager.h b/cc/surfaces/surface_manager.h
index 53998ec5cb989942e8b64ee9858f5f99d7fe6b4a..53708504b4574bf8d23d9a41a3ebf407a14f4df4 100644
--- a/cc/surfaces/surface_manager.h
+++ b/cc/surfaces/surface_manager.h
@@ -36,6 +36,7 @@
namespace cc {
class BeginFrameSource;
class CompositorFrame;
+class FrameSinkManagerClient;
class Surface;
class SurfaceFactory;
class SurfaceFactoryClient;
@@ -111,15 +112,15 @@ class CC_SURFACES_EXPORT SurfaceManager {
// However, DelegatedFrameHost can register itself as a client before its
// relationship with the ui::Compositor is known.
- // Associates a SurfaceFactoryClient with the surface id frame_sink_id it
+ // Associates a FrameSinkManagerClient with the surface id frame_sink_id it
// uses.
- // SurfaceFactoryClient and surface namespaces/allocators have a 1:1 mapping.
- // Caller guarantees the client is alive between register/unregister.
+ // FrameSinkManagerClient and surface namespaces/allocators have a 1:1
+ // mapping. Caller guarantees the client is alive between register/unregister.
// Reregistering the same namespace when a previous client is active is not
// valid.
- void RegisterSurfaceFactoryClient(const FrameSinkId& frame_sink_id,
- SurfaceFactoryClient* client);
- void UnregisterSurfaceFactoryClient(const FrameSinkId& frame_sink_id);
+ void RegisterFrameSinkManagerClient(const FrameSinkId& frame_sink_id,
+ FrameSinkManagerClient* client);
+ void UnregisterFrameSinkManagerClient(const FrameSinkId& frame_sink_id);
// Associates a |source| with a particular namespace. That namespace and
// any children of that namespace with valid clients can potentially use
« no previous file with comments | « cc/surfaces/surface_factory_unittest.cc ('k') | cc/surfaces/surface_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698