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

Side by Side Diff: components/display_compositor/gpu_offscreen_compositor_frame_sink.h

Issue 2651213004: Revert of Decouple GpuCompositorFrameSink from DisplayCompositor (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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_DISPLAY_COMPOSITOR_GPU_OFFSCREEN_COMPOSITOR_FRAME_SINK_H_
6 #define COMPONENTS_DISPLAY_COMPOSITOR_GPU_OFFSCREEN_COMPOSITOR_FRAME_SINK_H_
7
8 #include "components/display_compositor/display_compositor_export.h"
9 #include "components/display_compositor/gpu_compositor_frame_sink.h"
10 #include "components/display_compositor/gpu_compositor_frame_sink_delegate.h"
11
12 namespace display_compositor {
13
14 class DISPLAY_COMPOSITOR_EXPORT GpuOffscreenCompositorFrameSink
15 : public GpuCompositorFrameSink {
16 public:
17 GpuOffscreenCompositorFrameSink(
18 GpuCompositorFrameSinkDelegate* delegate,
19 cc::SurfaceManager* surface_manager,
20 const cc::FrameSinkId& frame_sink_id,
21 cc::mojom::MojoCompositorFrameSinkRequest request,
22 cc::mojom::MojoCompositorFrameSinkPrivateRequest private_request,
23 cc::mojom::MojoCompositorFrameSinkClientPtr client);
24
25 ~GpuOffscreenCompositorFrameSink() override;
26
27 private:
28 mojo::Binding<cc::mojom::MojoCompositorFrameSink> binding_;
29
30 DISALLOW_COPY_AND_ASSIGN(GpuOffscreenCompositorFrameSink);
31 };
32
33 } // namespace display_compositor
34
35 #endif // COMPONENTS_DISPLAY_COMPOSITOR_GPU_OFFSCREEN_COMPOSITOR_FRAME_SINK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698