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

Side by Side Diff: ui/aura/mus/window_compositor_frame_sink.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 | « ui/aura/mus/property_converter.cc ('k') | ui/aura/mus/window_port_mus.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/aura/mus/window_compositor_frame_sink.h" 5 #include "ui/aura/mus/window_compositor_frame_sink.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h"
8 #include "cc/output/compositor_frame_sink_client.h" 9 #include "cc/output/compositor_frame_sink_client.h"
9 #include "gpu/ipc/client/gpu_channel_host.h" 10 #include "gpu/ipc/client/gpu_channel_host.h"
10 11
11 namespace aura { 12 namespace aura {
12 13
13 // static 14 // static
14 std::unique_ptr<WindowCompositorFrameSink> WindowCompositorFrameSink::Create( 15 std::unique_ptr<WindowCompositorFrameSink> WindowCompositorFrameSink::Create(
15 scoped_refptr<cc::ContextProvider> context_provider, 16 scoped_refptr<cc::ContextProvider> context_provider,
16 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, 17 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
17 std::unique_ptr<WindowCompositorFrameSinkBinding>* 18 std::unique_ptr<WindowCompositorFrameSinkBinding>*
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 WindowCompositorFrameSinkBinding::~WindowCompositorFrameSinkBinding() {} 123 WindowCompositorFrameSinkBinding::~WindowCompositorFrameSinkBinding() {}
123 124
124 WindowCompositorFrameSinkBinding::WindowCompositorFrameSinkBinding( 125 WindowCompositorFrameSinkBinding::WindowCompositorFrameSinkBinding(
125 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink_request, 126 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink_request,
126 mojo::InterfacePtrInfo<cc::mojom::MojoCompositorFrameSinkClient> 127 mojo::InterfacePtrInfo<cc::mojom::MojoCompositorFrameSinkClient>
127 compositor_frame_sink_client) 128 compositor_frame_sink_client)
128 : compositor_frame_sink_request_(std::move(compositor_frame_sink_request)), 129 : compositor_frame_sink_request_(std::move(compositor_frame_sink_request)),
129 compositor_frame_sink_client_(std::move(compositor_frame_sink_client)) {} 130 compositor_frame_sink_client_(std::move(compositor_frame_sink_client)) {}
130 131
131 } // namespace aura 132 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/mus/property_converter.cc ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698