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

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: Created 8 years, 8 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 83b7aac8f33f1376795a78ea31713dcaef578cc2..dce6c69d6f2e26549cd5df03479ad02ea23103da 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -886,8 +886,10 @@ void Shell::InitLayoutManagers() {
new internal::BaseLayoutManager(
always_on_top_container->GetRootWindow()));
- // Create desktop background widget.
- desktop_background_controller_->SetDesktopBackgroundImageMode();
+ // Before login, the desktop background set to the default wallpaper.
+ // When browser crashes, this will load user's wallpaper from resources (slow
+ // on Alex).
+ desktop_background_controller_->SetLoggedInUserWallpaper();
// Create Panel layout manager
if (CommandLine::ForCurrentProcess()->

Powered by Google App Engine
This is Rietveld 408576698