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

Unified Diff: ash/sysui/sysui_application.cc

Issue 2323063003: mash: Port sysui's WallpaperDelegateMus to mojo:ash. (Closed)
Patch Set: Alternative display info workaround. Created 4 years, 3 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: ash/sysui/sysui_application.cc
diff --git a/ash/sysui/sysui_application.cc b/ash/sysui/sysui_application.cc
index dcd65f2259fc652549afb2627b4f13af5f019164..88af42005469e3ac1181fc5943d995950c51be3f 100644
--- a/ash/sysui/sysui_application.cc
+++ b/ash/sysui/sysui_application.cc
@@ -25,7 +25,6 @@
#include "ash/sysui/keyboard_ui_mus.h"
#include "ash/sysui/shell_delegate_mus.h"
#include "ash/sysui/stub_context_factory.h"
-#include "ash/sysui/wallpaper_delegate_mus.h"
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/path_service.h"
@@ -323,17 +322,8 @@ void SysUIApplication::OnStart(const ::shell::Identity& identity) {
bool SysUIApplication::OnConnect(const ::shell::Identity& remote_identity,
::shell::InterfaceRegistry* registry) {
- registry->AddInterface<mojom::WallpaperController>(this);
return true;
}
-void SysUIApplication::Create(const ::shell::Identity& remote_identity,
- mojom::WallpaperControllerRequest request) {
- mojom::WallpaperController* wallpaper_controller =
- static_cast<WallpaperDelegateMus*>(WmShell::Get()->wallpaper_delegate());
- wallpaper_controller_bindings_.AddBinding(wallpaper_controller,
- std::move(request));
-}
-
} // namespace sysui
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698