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

Side by Side Diff: components/mus/public/cpp/lib/window_tree_host_factory.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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_tree_host_factory.h" 5 #include "components/mus/public/cpp/window_tree_host_factory.h"
6 6
7 #include "components/mus/public/cpp/window_tree_connection.h" 7 #include "components/mus/public/cpp/window_tree_connection.h"
8 #include "components/mus/public/cpp/window_tree_delegate.h" 8 #include "components/mus/public/cpp/window_tree_delegate.h"
9 #include "mojo/application/public/cpp/application_impl.h" 9 #include "mojo/shell/public/cpp/application_impl.h"
10 10
11 namespace mus { 11 namespace mus {
12 12
13 void CreateWindowTreeHost(mojom::WindowTreeHostFactory* factory, 13 void CreateWindowTreeHost(mojom::WindowTreeHostFactory* factory,
14 mojom::WindowTreeHostClientPtr host_client, 14 mojom::WindowTreeHostClientPtr host_client,
15 WindowTreeDelegate* delegate, 15 WindowTreeDelegate* delegate,
16 mojom::WindowTreeHostPtr* host, 16 mojom::WindowTreeHostPtr* host,
17 mojom::WindowManagerPtr window_manager, 17 mojom::WindowManagerPtr window_manager,
18 WindowManagerDelegate* window_manager_delegate) { 18 WindowManagerDelegate* window_manager_delegate) {
19 mojom::WindowTreeClientPtr tree_client; 19 mojom::WindowTreeClientPtr tree_client;
(...skipping 13 matching lines...) Expand all
33 mojom::WindowTreeHostPtr* host, 33 mojom::WindowTreeHostPtr* host,
34 mojom::WindowManagerPtr window_manager, 34 mojom::WindowManagerPtr window_manager,
35 WindowManagerDelegate* window_manager_delegate) { 35 WindowManagerDelegate* window_manager_delegate) {
36 mojom::WindowTreeHostFactoryPtr factory; 36 mojom::WindowTreeHostFactoryPtr factory;
37 app->ConnectToService("mojo:mus", &factory); 37 app->ConnectToService("mojo:mus", &factory);
38 CreateWindowTreeHost(factory.get(), std::move(host_client), delegate, host, 38 CreateWindowTreeHost(factory.get(), std::move(host_client), delegate, host,
39 std::move(window_manager), window_manager_delegate); 39 std::move(window_manager), window_manager_delegate);
40 } 40 }
41 41
42 } // namespace mus 42 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.cc ('k') | components/mus/public/cpp/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698