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

Unified Diff: components/mus/mus_app.cc

Issue 1644773004: Renames some WindowManager classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/mus_app.h ('k') | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/mus_app.cc
diff --git a/components/mus/mus_app.cc b/components/mus/mus_app.cc
index c2dc704eef76632397cf8e7a71c38f364c50414e..fe4055eb63e0d18c5e0711dcc813efc6bc45697b 100644
--- a/components/mus/mus_app.cc
+++ b/components/mus/mus_app.cc
@@ -41,7 +41,7 @@ namespace mus {
struct MandolineUIServicesApp::PendingRequest {
scoped_ptr<mojo::InterfaceRequest<mojom::DisplayManager>> dm_request;
- scoped_ptr<mojo::InterfaceRequest<mojom::WindowManager>> wm_request;
+ scoped_ptr<mojo::InterfaceRequest<mojom::WindowManagerDeprecated>> wm_request;
};
MandolineUIServicesApp::MandolineUIServicesApp()
@@ -93,7 +93,7 @@ bool MandolineUIServicesApp::ConfigureIncomingConnection(
ApplicationConnection* connection) {
connection->AddService<Gpu>(this);
connection->AddService<mojom::DisplayManager>(this);
- connection->AddService<mojom::WindowManager>(this);
+ connection->AddService<mojom::WindowManagerDeprecated>(this);
connection->AddService<WindowTreeHostFactory>(this);
return true;
}
@@ -142,11 +142,12 @@ void MandolineUIServicesApp::Create(
void MandolineUIServicesApp::Create(
mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<mojom::WindowManager> request) {
+ mojo::InterfaceRequest<mojom::WindowManagerDeprecated> request) {
if (!connection_manager_->has_tree_host_connections()) {
scoped_ptr<PendingRequest> pending_request(new PendingRequest);
pending_request->wm_request.reset(
- new mojo::InterfaceRequest<mojom::WindowManager>(std::move(request)));
+ new mojo::InterfaceRequest<mojom::WindowManagerDeprecated>(
+ std::move(request)));
pending_requests_.push_back(std::move(pending_request));
return;
}
@@ -174,7 +175,7 @@ void MandolineUIServicesApp::CreateWindowTreeHost(
mojo::InterfaceRequest<mojom::WindowTreeHost> host,
mojom::WindowTreeHostClientPtr host_client,
mojom::WindowTreeClientPtr tree_client,
- mojom::WindowManagerPtr window_manager) {
+ mojom::WindowManagerDeprecatedPtr window_manager) {
DCHECK(connection_manager_);
// TODO(fsamuel): We need to make sure that only the window manager can create
« no previous file with comments | « components/mus/mus_app.h ('k') | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698