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

Unified Diff: chrome/browser/chromeos/login/lock/screen_locker.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
Index: chrome/browser/chromeos/login/lock/screen_locker.cc
diff --git a/chrome/browser/chromeos/login/lock/screen_locker.cc b/chrome/browser/chromeos/login/lock/screen_locker.cc
index 0dc37ce8c08b408840f9ffe0eaaeb788bb5ed0aa..1ac865990e98faf14fbc9e5498a2cd862aa1b3a4 100644
--- a/chrome/browser/chromeos/login/lock/screen_locker.cc
+++ b/chrome/browser/chromeos/login/lock/screen_locker.cc
@@ -10,8 +10,8 @@
#include "ash/common/ash_switches.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm/wm_event.h"
-#include "ash/desktop_background/desktop_background_controller.h"
#include "ash/shell.h"
+#include "ash/wallpaper/wallpaper_controller.h"
#include "ash/wm/lock_state_controller.h"
#include "ash/wm/window_state_aura.h"
#include "ash/wm/window_util.h"
@@ -491,9 +491,8 @@ ScreenLocker::~ScreenLocker() {
authenticator_->SetConsumer(NULL);
ClearErrors();
- VLOG(1) << "Moving desktop background to unlocked container";
- ash::Shell::GetInstance()->
- desktop_background_controller()->MoveDesktopToUnlockedContainer();
+ VLOG(1) << "Moving wallpaper to unlocked container";
+ ash::Shell::GetInstance()->wallpaper_controller()->MoveToUnlockedContainer();
screen_locker_ = NULL;
bool state = false;
@@ -523,9 +522,8 @@ void ScreenLocker::ScreenLockReady() {
<< delta.InSecondsF() << " second(s)";
UMA_HISTOGRAM_TIMES("ScreenLocker.ScreenLockTime", delta);
- VLOG(1) << "Moving desktop background to locked container";
- ash::Shell::GetInstance()->
- desktop_background_controller()->MoveDesktopToLockedContainer();
+ VLOG(1) << "Moving wallpaper to locked container";
+ ash::Shell::GetInstance()->wallpaper_controller()->MoveToLockedContainer();
bool state = true;
VLOG(1) << "Emitting SCREEN_LOCK_STATE_CHANGED with state=" << state;

Powered by Google App Engine
This is Rietveld 408576698