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

Unified Diff: ash/mus/window_manager_application.cc

Issue 2391253004: Use mojo Shelf interfaces for both mash and classic ash. (Closed)
Patch Set: Address comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/window_manager_application.h ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager_application.cc
diff --git a/ash/mus/window_manager_application.cc b/ash/mus/window_manager_application.cc
index 282d65f4c6e1ec98c17ff3927084ff3ff63ef983..052987089d806202a7cf664148bc09efe15447c3 100644
--- a/ash/mus/window_manager_application.cc
+++ b/ash/mus/window_manager_application.cc
@@ -11,7 +11,6 @@
#include "ash/common/wm_shell.h"
#include "ash/mus/accelerators/accelerator_registrar_impl.h"
#include "ash/mus/native_widget_factory_mus.h"
-#include "ash/mus/shelf_delegate_mus.h"
#include "ash/mus/wallpaper_delegate_mus.h"
#include "ash/mus/window_manager.h"
#include "base/bind.h"
@@ -184,7 +183,6 @@ bool WindowManagerApplication::OnConnect(const shell::Identity& remote_identity,
mojo_interface_factory::RegisterInterfaces(
registry, base::ThreadTaskRunnerHandle::Get());
- registry->AddInterface<mojom::ShelfController>(this);
registry->AddInterface<mojom::WallpaperController>(this);
registry->AddInterface<ui::mojom::AcceleratorRegistrar>(this);
if (remote_identity.name() == "service:mash_session") {
@@ -195,14 +193,6 @@ bool WindowManagerApplication::OnConnect(const shell::Identity& remote_identity,
return true;
}
-void WindowManagerApplication::Create(const shell::Identity& remote_identity,
- mojom::ShelfControllerRequest request) {
- mojom::ShelfController* shelf_controller =
- static_cast<ShelfDelegateMus*>(WmShell::Get()->shelf_delegate());
- DCHECK(shelf_controller);
- shelf_controller_bindings_.AddBinding(shelf_controller, std::move(request));
-}
-
void WindowManagerApplication::Create(
const ::shell::Identity& remote_identity,
mojom::WallpaperControllerRequest request) {
« no previous file with comments | « ash/mus/window_manager_application.h ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698