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

Unified Diff: mash/wm/window_manager_application.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 | « mash/wm/window_manager_application.h ('k') | mash/wm/window_manager_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager_application.cc
diff --git a/mash/wm/window_manager_application.cc b/mash/wm/window_manager_application.cc
index eb3dfa606ad6d3bdf9e90f8fba68072537e6d7bb..eece1061f35f4435f1ac6647f13c8ed98edb6692 100644
--- a/mash/wm/window_manager_application.cc
+++ b/mash/wm/window_manager_application.cc
@@ -80,9 +80,9 @@ void WindowManagerApplication::Initialize(mojo::ApplicationImpl* app) {
tracing_.Initialize(app);
window_manager_.reset(new WindowManagerImpl());
// Don't bind to the WindowManager immediately. Wait for OnEmbed() first.
- mus::mojom::WindowManagerPtr window_manager;
- requests_.push_back(
- make_scoped_ptr(new mojo::InterfaceRequest<mus::mojom::WindowManager>(
+ mus::mojom::WindowManagerDeprecatedPtr window_manager;
+ requests_.push_back(make_scoped_ptr(
+ new mojo::InterfaceRequest<mus::mojom::WindowManagerDeprecated>(
mojo::GetProxy(&window_manager))));
user_window_controller_.reset(new UserWindowControllerImpl());
mus::CreateSingleWindowTreeHost(
@@ -94,7 +94,7 @@ bool WindowManagerApplication::ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) {
connection->AddService<mash::wm::mojom::UserWindowController>(this);
connection->AddService<mus::mojom::AcceleratorRegistrar>(this);
- connection->AddService<mus::mojom::WindowManager>(this);
+ connection->AddService<mus::mojom::WindowManagerDeprecated>(this);
return true;
}
@@ -192,13 +192,13 @@ void WindowManagerApplication::Create(
void WindowManagerApplication::Create(
mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<mus::mojom::WindowManager> request) {
+ mojo::InterfaceRequest<mus::mojom::WindowManagerDeprecated> request) {
if (root_) {
window_manager_binding_.AddBinding(window_manager_.get(),
std::move(request));
} else {
- requests_.push_back(
- make_scoped_ptr(new mojo::InterfaceRequest<mus::mojom::WindowManager>(
+ requests_.push_back(make_scoped_ptr(
+ new mojo::InterfaceRequest<mus::mojom::WindowManagerDeprecated>(
std::move(request))));
}
}
« no previous file with comments | « mash/wm/window_manager_application.h ('k') | mash/wm/window_manager_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698