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

Side by Side Diff: services/ui/ws/window_tree_factory.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
« no previous file with comments | « services/ui/ws/window_tree_factory.h ('k') | services/ui/ws/window_tree_host_factory.h » ('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 "components/mus/ws/window_tree_factory.h" 5 #include "services/ui/ws/window_tree_factory.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "components/mus/ws/default_access_policy.h" 8 #include "services/ui/ws/default_access_policy.h"
9 #include "components/mus/ws/window_server.h" 9 #include "services/ui/ws/window_server.h"
10 #include "components/mus/ws/window_tree.h" 10 #include "services/ui/ws/window_tree.h"
11 #include "components/mus/ws/window_tree_binding.h" 11 #include "services/ui/ws/window_tree_binding.h"
12 12
13 namespace mus { 13 namespace mus {
14 namespace ws { 14 namespace ws {
15 15
16 WindowTreeFactory::WindowTreeFactory(WindowServer* window_server, 16 WindowTreeFactory::WindowTreeFactory(WindowServer* window_server,
17 const UserId& user_id, 17 const UserId& user_id,
18 const std::string& client_name, 18 const std::string& client_name,
19 mojom::WindowTreeFactoryRequest request) 19 mojom::WindowTreeFactoryRequest request)
20 : window_server_(window_server), 20 : window_server_(window_server),
21 user_id_(user_id), 21 user_id_(user_id),
(...skipping 11 matching lines...) Expand all
33 std::unique_ptr<ws::DefaultWindowTreeBinding> binding( 33 std::unique_ptr<ws::DefaultWindowTreeBinding> binding(
34 new ws::DefaultWindowTreeBinding(service.get(), window_server_, 34 new ws::DefaultWindowTreeBinding(service.get(), window_server_,
35 std::move(tree_request), 35 std::move(tree_request),
36 std::move(client))); 36 std::move(client)));
37 service->set_name(client_name_); 37 service->set_name(client_name_);
38 window_server_->AddTree(std::move(service), std::move(binding), nullptr); 38 window_server_->AddTree(std::move(service), std::move(binding), nullptr);
39 } 39 }
40 40
41 } // namespace ws 41 } // namespace ws
42 } // namespace mus 42 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree_factory.h ('k') | services/ui/ws/window_tree_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698