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

Side by Side Diff: services/ui/public/cpp/window_tree_host_factory.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase 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/public/cpp/window_tree_client_delegate.h ('k') | services/ui/service.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 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 "services/ui/public/cpp/window_tree_host_factory.h" 5 #include "services/ui/public/cpp/window_tree_host_factory.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "services/shell/public/cpp/connector.h" 8 #include "services/service_manager/public/cpp/connector.h"
9 #include "services/ui/public/cpp/window_tree_client.h" 9 #include "services/ui/public/cpp/window_tree_client.h"
10 #include "services/ui/public/cpp/window_tree_client_delegate.h" 10 #include "services/ui/public/cpp/window_tree_client_delegate.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 std::unique_ptr<WindowTreeClient> CreateWindowTreeHost( 14 std::unique_ptr<WindowTreeClient> CreateWindowTreeHost(
15 mojom::WindowTreeHostFactory* factory, 15 mojom::WindowTreeHostFactory* factory,
16 WindowTreeClientDelegate* delegate, 16 WindowTreeClientDelegate* delegate,
17 mojom::WindowTreeHostPtr* host, 17 mojom::WindowTreeHostPtr* host,
18 WindowManagerDelegate* window_manager_delegate) { 18 WindowManagerDelegate* window_manager_delegate) {
(...skipping 10 matching lines...) Expand all
29 WindowTreeClientDelegate* delegate, 29 WindowTreeClientDelegate* delegate,
30 mojom::WindowTreeHostPtr* host, 30 mojom::WindowTreeHostPtr* host,
31 WindowManagerDelegate* window_manager_delegate) { 31 WindowManagerDelegate* window_manager_delegate) {
32 mojom::WindowTreeHostFactoryPtr factory; 32 mojom::WindowTreeHostFactoryPtr factory;
33 connector->ConnectToInterface("service:ui", &factory); 33 connector->ConnectToInterface("service:ui", &factory);
34 return CreateWindowTreeHost(factory.get(), delegate, host, 34 return CreateWindowTreeHost(factory.get(), delegate, host,
35 window_manager_delegate); 35 window_manager_delegate);
36 } 36 }
37 37
38 } // namespace ui 38 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_tree_client_delegate.h ('k') | services/ui/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698