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

Unified Diff: ash/default_wallpaper_delegate.cc

Issue 2290473004: Rename ash desktop_background to wallpaper. (Closed)
Patch Set: Address comments. Created 4 years, 4 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/common/wm/overview/window_grid.cc ('k') | ash/desktop_background/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/default_wallpaper_delegate.cc
diff --git a/ash/default_wallpaper_delegate.cc b/ash/default_wallpaper_delegate.cc
index 23a47ce60af32faa305f1612a8586d181e74811b..6139a4d2e3aac4ee3887a50d5312e0c6611dec99 100644
--- a/ash/default_wallpaper_delegate.cc
+++ b/ash/default_wallpaper_delegate.cc
@@ -4,8 +4,8 @@
#include "ash/default_wallpaper_delegate.h"
-#include "ash/desktop_background/desktop_background_controller.h"
#include "ash/shell.h"
+#include "ash/wallpaper/wallpaper_controller.h"
#include "ui/wm/core/window_animations.h"
namespace ash {
@@ -28,9 +28,7 @@ bool DefaultWallpaperDelegate::ShouldShowInitialAnimation() {
void DefaultWallpaperDelegate::UpdateWallpaper(bool clear_cache) {}
void DefaultWallpaperDelegate::InitializeWallpaper() {
- ash::Shell::GetInstance()
- ->desktop_background_controller()
- ->CreateEmptyWallpaper();
+ ash::Shell::GetInstance()->wallpaper_controller()->CreateEmptyWallpaper();
}
void DefaultWallpaperDelegate::OpenSetWallpaperPage() {}
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/desktop_background/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698