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

Unified Diff: cc/surfaces/display.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/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index 35b504149b23362a8e2de6c3bcb64a600469c04f..e86398d5641166488153d2fb7af4e9667e9901ef 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -14,6 +14,7 @@
#include "cc/scheduler/begin_frame_source.h"
#include "cc/surfaces/display_scheduler.h"
#include "cc/surfaces/frame_sink_id.h"
+#include "cc/surfaces/framesink_manager.h"
#include "cc/surfaces/surface_aggregator.h"
#include "cc/surfaces/surface_id.h"
#include "cc/surfaces/surface_manager.h"
@@ -63,7 +64,8 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
~Display() override;
- void Initialize(DisplayClient* client, SurfaceManager* surface_manager);
+ void Initialize(DisplayClient* client, SurfaceManager* surface_manager,
+ FrameSinkManager* framesink_manager);
// device_scale_factor is used to communicate to the external window system
// what scale this was rendered at.
@@ -104,6 +106,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
DisplayClient* client_ = nullptr;
SurfaceManager* surface_manager_ = nullptr;
+ FrameSinkManager* framesink_manager_ = nullptr;
const FrameSinkId frame_sink_id_;
SurfaceId current_surface_id_;
gfx::Size current_surface_size_;

Powered by Google App Engine
This is Rietveld 408576698