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

Side by Side Diff: mojo/aura/surface_binding.cc

Issue 640893003: Move mojo/services/public/cpp TypeConverters to mojo/converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore the directory and component structures and target names. Created 6 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 | « mojo/aura/BUILD.gn ('k') | mojo/cc/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 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 "mojo/aura/surface_binding.h" 5 #include "mojo/aura/surface_binding.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/threading/thread_local.h" 11 #include "base/threading/thread_local.h"
12 #include "cc/output/compositor_frame.h" 12 #include "cc/output/compositor_frame.h"
13 #include "cc/output/output_surface.h" 13 #include "cc/output/output_surface.h"
14 #include "cc/output/output_surface_client.h" 14 #include "cc/output/output_surface_client.h"
15 #include "cc/output/software_output_device.h" 15 #include "cc/output/software_output_device.h"
16 #include "cc/resources/shared_bitmap_manager.h" 16 #include "cc/resources/shared_bitmap_manager.h"
17 #include "mojo/aura/window_tree_host_mojo.h" 17 #include "mojo/aura/window_tree_host_mojo.h"
18 #include "mojo/cc/context_provider_mojo.h" 18 #include "mojo/cc/context_provider_mojo.h"
19 #include "mojo/cc/output_surface_mojo.h" 19 #include "mojo/cc/output_surface_mojo.h"
20 #include "mojo/converters/geometry/geometry_type_converters.h"
21 #include "mojo/converters/surfaces/surfaces_type_converters.h"
20 #include "mojo/public/cpp/application/connect.h" 22 #include "mojo/public/cpp/application/connect.h"
21 #include "mojo/public/interfaces/application/shell.mojom.h" 23 #include "mojo/public/interfaces/application/shell.mojom.h"
22 #include "mojo/services/public/cpp/geometry/geometry_type_converters.h"
23 #include "mojo/services/public/cpp/surfaces/surfaces_type_converters.h"
24 #include "mojo/services/public/cpp/view_manager/view.h" 24 #include "mojo/services/public/cpp/view_manager/view.h"
25 #include "mojo/services/public/cpp/view_manager/view_manager.h" 25 #include "mojo/services/public/cpp/view_manager/view_manager.h"
26 #include "mojo/services/public/interfaces/gpu/gpu.mojom.h" 26 #include "mojo/services/public/interfaces/gpu/gpu.mojom.h"
27 #include "mojo/services/public/interfaces/surfaces/surfaces.mojom.h" 27 #include "mojo/services/public/interfaces/surfaces/surfaces.mojom.h"
28 #include "mojo/services/public/interfaces/surfaces/surfaces_service.mojom.h" 28 #include "mojo/services/public/interfaces/surfaces/surfaces_service.mojom.h"
29 29
30 namespace mojo { 30 namespace mojo {
31 namespace { 31 namespace {
32 32
33 // SurfaceclientImpl ----------------------------------------------------------- 33 // SurfaceclientImpl -----------------------------------------------------------
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 } 242 }
243 243
244 SurfaceBinding::~SurfaceBinding() { 244 SurfaceBinding::~SurfaceBinding() {
245 } 245 }
246 246
247 scoped_ptr<cc::OutputSurface> SurfaceBinding::CreateOutputSurface() { 247 scoped_ptr<cc::OutputSurface> SurfaceBinding::CreateOutputSurface() {
248 return state_->CreateOutputSurface(view_); 248 return state_->CreateOutputSurface(view_);
249 } 249 }
250 250
251 } // namespace mojo 251 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/aura/BUILD.gn ('k') | mojo/cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698