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

Unified Diff: components/display_compositor/gpu_compositor_frame_sink.h

Issue 2683583005: Move display_ From CompositorFrameSinkSupport To GpuDisplayCompositorFrameSink (Closed)
Patch Set: rebase 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: components/display_compositor/gpu_compositor_frame_sink.h
diff --git a/components/display_compositor/gpu_compositor_frame_sink.h b/components/display_compositor/gpu_compositor_frame_sink.h
index c4a08a97cb4b49b06f9223252c2e7f562c20851a..c953d4485fe2355d5b2d9f9a9070e935f82f56be 100644
--- a/components/display_compositor/gpu_compositor_frame_sink.h
+++ b/components/display_compositor/gpu_compositor_frame_sink.h
@@ -18,10 +18,6 @@
#include "components/display_compositor/gpu_compositor_frame_sink_delegate.h"
#include "mojo/public/cpp/bindings/binding.h"
-namespace cc {
-class Display;
-}
-
namespace display_compositor {
// Server side representation of a WindowSurface.
@@ -34,9 +30,9 @@ class DISPLAY_COMPOSITOR_EXPORT GpuCompositorFrameSink
GpuCompositorFrameSinkDelegate* delegate,
cc::SurfaceManager* surface_manager,
const cc::FrameSinkId& frame_sink_id,
- cc::Display* display,
cc::mojom::MojoCompositorFrameSinkPrivateRequest private_request,
- cc::mojom::MojoCompositorFrameSinkClientPtr client);
+ cc::mojom::MojoCompositorFrameSinkClientPtr client,
+ bool has_display);
~GpuCompositorFrameSink() override;

Powered by Google App Engine
This is Rietveld 408576698