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

Unified Diff: chrome/browser/ui/webui/settings/appearance_handler.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
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 e08eae09bef4e5c127a2e40534b2fe5f720318fb..c863519b31537414fb65c4c943c540113e077486 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 {
@@ -63,7 +62,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
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | components/arc/intent_helper/arc_intent_helper_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698