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

Side by Side Diff: services/ui/gpu/display_compositor/display_impl.cc

Issue 2386763002: services/ui: Match naming in cc (and jellyfish branch) (Closed)
Patch Set: Removed bad change Created 4 years, 2 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/gpu/display_compositor/display_impl.h ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "services/ui/gpu/display_compositor/display_impl.h" 5 #include "services/ui/gpu/display_compositor/display_impl.h"
6 6
7 #include "services/ui/gpu/display_compositor/compositor_frame_sink_impl.h" 7 #include "services/ui/gpu/display_compositor/compositor_frame_sink_impl.h"
8 8
9 namespace ui { 9 namespace ui {
10 namespace gpu { 10 namespace gpu {
11 11
12 DisplayImpl::DisplayImpl( 12 DisplayImpl::DisplayImpl(
13 int accelerated_widget, 13 int accelerated_widget,
14 mojo::InterfaceRequest<mojom::Display> display, 14 mojo::InterfaceRequest<mojom::Display> display,
15 mojom::DisplayHostPtr host, 15 mojom::DisplayHostPtr host,
16 mojo::InterfaceRequest<mojom::CompositorFrameSink> sink, 16 mojo::InterfaceRequest<mojom::CompositorFrameSink> sink,
17 mojom::CompositorFrameSinkClientPtr client, 17 mojom::CompositorFrameSinkClientPtr client,
18 const scoped_refptr<SurfacesState>& surfaces_state) 18 const scoped_refptr<DisplayCompositor>& display_compositor)
19 : binding_(this, std::move(display)) { 19 : binding_(this, std::move(display)) {
20 const uint32_t client_id = 1; 20 const uint32_t client_id = 1;
21 sink_.reset(new CompositorFrameSinkImpl(this, client_id, surfaces_state, 21 sink_.reset(new CompositorFrameSinkImpl(this, client_id, display_compositor,
22 std::move(sink), std::move(client))); 22 std::move(sink), std::move(client)));
23 } 23 }
24 24
25 DisplayImpl::~DisplayImpl() {} 25 DisplayImpl::~DisplayImpl() {}
26 26
27 void DisplayImpl::CreateClient( 27 void DisplayImpl::CreateClient(
28 uint32_t client_id, 28 uint32_t client_id,
29 mojo::InterfaceRequest<mojom::DisplayClient> client) { 29 mojo::InterfaceRequest<mojom::DisplayClient> client) {
30 NOTIMPLEMENTED(); 30 NOTIMPLEMENTED();
31 } 31 }
32 32
33 void DisplayImpl::CompositorFrameSinkConnectionLost(int sink_id) { 33 void DisplayImpl::CompositorFrameSinkConnectionLost(int sink_id) {
34 NOTIMPLEMENTED(); 34 NOTIMPLEMENTED();
35 } 35 }
36 36
37 cc::SurfaceId DisplayImpl::GenerateSurfaceId() { 37 cc::SurfaceId DisplayImpl::GenerateSurfaceId() {
38 NOTIMPLEMENTED(); 38 NOTIMPLEMENTED();
39 return cc::SurfaceId(); 39 return cc::SurfaceId();
40 } 40 }
41 41
42 } // namespace gpu 42 } // namespace gpu
43 } // namespace ui 43 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/gpu/display_compositor/display_impl.h ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698