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

Unified Diff: ash/mus/window_manager_application.cc

Issue 2413503002: Cleanup mojo Wallpaper interfaces for mash. (Closed)
Patch Set: Sync and rebase again... 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/public/interfaces/typemaps.gni » ('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 12f597ee011daa976b2aca6d5dd22135883b9a1a..36ffc5d6af538c5ec94130f1f1ee29e298278a55 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/wallpaper_delegate_mus.h"
#include "ash/mus/window_manager.h"
#include "base/bind.h"
#include "base/memory/ptr_util.h"
@@ -164,7 +163,6 @@ bool WindowManagerApplication::OnConnect(
mojo_interface_factory::RegisterInterfaces(
registry, base::ThreadTaskRunnerHandle::Get());
- registry->AddInterface<mojom::WallpaperController>(this);
registry->AddInterface<ui::mojom::AcceleratorRegistrar>(this);
if (remote_identity.name() == "service:mash_session") {
connector()->ConnectToInterface(remote_identity, &session_);
@@ -175,16 +173,6 @@ bool WindowManagerApplication::OnConnect(
}
void WindowManagerApplication::Create(
- const ::service_manager::Identity& remote_identity,
- mojom::WallpaperControllerRequest request) {
- mojom::WallpaperController* wallpaper_controller =
- static_cast<WallpaperDelegateMus*>(WmShell::Get()->wallpaper_delegate());
- DCHECK(wallpaper_controller);
- wallpaper_controller_bindings_.AddBinding(wallpaper_controller,
- std::move(request));
-}
-
-void WindowManagerApplication::Create(
const service_manager::Identity& remote_identity,
ui::mojom::AcceleratorRegistrarRequest request) {
if (!window_manager_->window_manager_client())
« no previous file with comments | « ash/mus/window_manager_application.h ('k') | ash/public/interfaces/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698