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

Unified Diff: chrome/browser/ui/webui/settings/appearance_handler.cc

Issue 2413503002: Cleanup mojo Wallpaper interfaces for mash. (Closed)
Patch Set: Sync and rebase; do *not* use mojo in classic ash. 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
Index: chrome/browser/ui/webui/settings/appearance_handler.cc
diff --git a/chrome/browser/ui/webui/settings/appearance_handler.cc b/chrome/browser/ui/webui/settings/appearance_handler.cc
index eac391fb59af3c80e4d6d2e6c09e5d424344aa95..af33ea785a15491c77a0cd726f1bce500cf27d4f 100644
--- a/chrome/browser/ui/webui/settings/appearance_handler.cc
+++ b/chrome/browser/ui/webui/settings/appearance_handler.cc
@@ -13,8 +13,7 @@
#include "content/public/browser/web_ui.h"
#if defined(OS_CHROMEOS)
-#include "ash/common/wallpaper/wallpaper_delegate.h" // nogncheck
-#include "ash/common/wm_shell.h" // nogncheck
+#include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h"
#endif
namespace settings {
@@ -60,7 +59,7 @@ void AppearanceHandler::HandleUseSystemTheme(const base::ListValue* args) {
#if defined(OS_CHROMEOS)
void AppearanceHandler::HandleOpenWallpaperManager(
const base::ListValue* /*args*/) {
- ash::WmShell::Get()->wallpaper_delegate()->OpenSetWallpaperPage();
+ chromeos::WallpaperManager::Get()->Open();
}
#endif

Powered by Google App Engine
This is Rietveld 408576698