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

Side by Side Diff: services/ui/public/cpp/lib/window_surface.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/mus/public/cpp/window_surface.h" 5 #include "services/ui/public/cpp/window_surface.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "components/mus/public/cpp/window_surface_client.h" 8 #include "services/ui/public/cpp/window_surface_client.h"
9 9
10 namespace mus { 10 namespace mus {
11 11
12 // static 12 // static
13 std::unique_ptr<WindowSurface> WindowSurface::Create( 13 std::unique_ptr<WindowSurface> WindowSurface::Create(
14 std::unique_ptr<WindowSurfaceBinding>* surface_binding) { 14 std::unique_ptr<WindowSurfaceBinding>* surface_binding) {
15 mojom::SurfacePtr surface; 15 mojom::SurfacePtr surface;
16 mojom::SurfaceClientPtr surface_client; 16 mojom::SurfaceClientPtr surface_client;
17 mojo::InterfaceRequest<mojom::SurfaceClient> surface_client_request = 17 mojo::InterfaceRequest<mojom::SurfaceClient> surface_client_request =
18 GetProxy(&surface_client); 18 GetProxy(&surface_client);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 WindowSurfaceBinding::~WindowSurfaceBinding() {} 61 WindowSurfaceBinding::~WindowSurfaceBinding() {}
62 62
63 WindowSurfaceBinding::WindowSurfaceBinding( 63 WindowSurfaceBinding::WindowSurfaceBinding(
64 mojo::InterfaceRequest<mojom::Surface> surface_request, 64 mojo::InterfaceRequest<mojom::Surface> surface_request,
65 mojo::InterfacePtrInfo<mojom::SurfaceClient> surface_client) 65 mojo::InterfacePtrInfo<mojom::SurfaceClient> surface_client)
66 : surface_request_(std::move(surface_request)), 66 : surface_request_(std::move(surface_request)),
67 surface_client_(std::move(surface_client)) {} 67 surface_client_(std::move(surface_client)) {}
68 68
69 } // namespace mus 69 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/public/cpp/lib/window_private.cc ('k') | services/ui/public/cpp/lib/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698