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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2684933003: Move frame_sink_id management to framesink_manager.cc/h from (Closed)
Patch Set: Created 3 years, 10 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: cc/surfaces/compositor_frame_sink_support.h
diff --git a/cc/surfaces/compositor_frame_sink_support.h b/cc/surfaces/compositor_frame_sink_support.h
index 8471bbd15c6b186b1c4678f6f64a7246ab41fd18..4f64a082345af852192e50abc8e5a475ac068af2 100644
--- a/cc/surfaces/compositor_frame_sink_support.h
+++ b/cc/surfaces/compositor_frame_sink_support.h
@@ -20,6 +20,7 @@ namespace cc {
class CompositorFrameSinkSupportClient;
class Display;
class SurfaceManager;
+class FrameSinkManager;
class CC_SURFACES_EXPORT CompositorFrameSinkSupport
: public NON_EXPORTED_BASE(DisplayClient),
@@ -29,6 +30,7 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
CompositorFrameSinkSupport(
CompositorFrameSinkSupportClient* client,
SurfaceManager* surface_manager,
+ FrameSinkManager* framesink_manager,
const FrameSinkId& frame_sink_id,
std::unique_ptr<Display> display,
std::unique_ptr<BeginFrameSource> display_begin_frame_source);
@@ -74,6 +76,7 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
CompositorFrameSinkSupportClient* const client_;
SurfaceManager* const surface_manager_;
+ FrameSinkManager* const framesink_manager_;
const FrameSinkId frame_sink_id_;

Powered by Google App Engine
This is Rietveld 408576698