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

Unified Diff: ash/shell.cc

Issue 10207030: Asynchronously load wallpapers when user pod is selected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 8 years, 7 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/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index bc8829a1fa9de4936c7361af2d090eb71d965a84..19944f273fc74bf39ee143cf55b2d6fa66c9d9de 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -230,7 +230,7 @@ class DummyUserWallpaperDelegate : public UserWallpaperDelegate {
virtual ~DummyUserWallpaperDelegate() {}
virtual const int GetUserWallpaperIndex() OVERRIDE {
- return 0;
+ return -1;
}
virtual void OpenSetWallpaperPage() OVERRIDE {
@@ -723,7 +723,7 @@ void Shell::Init() {
// It needs to be created after OnWindowResized has been called, otherwise the
// widget will not paint when restoring after a browser crash.
- desktop_background_controller_->SetDesktopBackgroundImageMode();
+ desktop_background_controller_->SetLoggedInUserWallpaper();
window_modality_controller_.reset(new internal::WindowModalityController);
AddRootWindowEventFilter(window_modality_controller_.get());

Powered by Google App Engine
This is Rietveld 408576698