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

Unified Diff: components/mus/public/cpp/lib/window_tree_host_factory.cc

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/public/cpp/lib/window_tree_host_factory.cc
diff --git a/components/mus/public/cpp/lib/window_tree_host_factory.cc b/components/mus/public/cpp/lib/window_tree_host_factory.cc
index 06365590c697c89c51c70e7765e6772b15526c5f..e63c604230722122d5189072bacb5f2fb22c7cb2 100644
--- a/components/mus/public/cpp/lib/window_tree_host_factory.cc
+++ b/components/mus/public/cpp/lib/window_tree_host_factory.cc
@@ -10,11 +10,11 @@
namespace mus {
-void CreateWindowTreeHost(mojo::ViewTreeHostFactory* factory,
- mojo::ViewTreeHostClientPtr host_client,
+void CreateWindowTreeHost(mojom::WindowTreeHostFactory* factory,
+ mojom::WindowTreeHostClientPtr host_client,
WindowTreeDelegate* delegate,
- mojo::ViewTreeHostPtr* host) {
- mojo::ViewTreeClientPtr tree_client;
+ mojom::WindowTreeHostPtr* host) {
+ mojom::WindowTreeClientPtr tree_client;
WindowTreeConnection::Create(
delegate, GetProxy(&tree_client),
WindowTreeConnection::CreateType::DONT_WAIT_FOR_EMBED);
@@ -24,13 +24,13 @@ void CreateWindowTreeHost(mojo::ViewTreeHostFactory* factory,
void CreateSingleWindowTreeHost(mojo::ApplicationImpl* app,
WindowTreeDelegate* delegate,
- mojo::ViewTreeHostPtr* host) {
- mojo::ViewTreeHostFactoryPtr factory;
+ mojom::WindowTreeHostPtr* host) {
+ mojom::WindowTreeHostFactoryPtr factory;
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = "mojo:mus";
app->ConnectToService(request.Pass(), &factory);
- CreateWindowTreeHost(factory.get(), mojo::ViewTreeHostClientPtr(), delegate,
- host);
+ CreateWindowTreeHost(factory.get(), mojom::WindowTreeHostClientPtr(),
+ delegate, host);
}
} // namespace mus
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.cc ('k') | components/mus/public/cpp/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698