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

Side by Side Diff: services/ui/surfaces/gpu_offscreen_compositor_frame_sink.cc

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
« no previous file with comments | « services/ui/surfaces/gpu_offscreen_compositor_frame_sink.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "services/ui/surfaces/gpu_offscreen_compositor_frame_sink.h"
6
7 namespace ui {
8
9 GpuOffscreenCompositorFrameSink::GpuOffscreenCompositorFrameSink(
10 DisplayCompositor* display_compositor,
11 const cc::FrameSinkId& frame_sink_id,
12 cc::mojom::MojoCompositorFrameSinkRequest request,
13 cc::mojom::MojoCompositorFrameSinkPrivateRequest
14 compositor_frame_sink_private_request,
15 cc::mojom::MojoCompositorFrameSinkClientPtr client)
16 : GpuCompositorFrameSink(display_compositor,
17 frame_sink_id,
18 nullptr,
19 nullptr,
20 std::move(compositor_frame_sink_private_request),
21 std::move(client)),
22 binding_(this, std::move(request)) {
23 binding_.set_connection_error_handler(
24 base::Bind(&GpuOffscreenCompositorFrameSink::OnClientConnectionLost,
25 base::Unretained(this)));
26 }
27
28 GpuOffscreenCompositorFrameSink::~GpuOffscreenCompositorFrameSink() = default;
29
30 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/surfaces/gpu_offscreen_compositor_frame_sink.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698