From 697f04c0a9168dfb3b85f8764ad9e4fb32e369e3 Mon Sep 17 00:00:00 2001 From: "derat@chromium.org" Date: Wed, 3 Oct 2012 01:15:10 +0000 Subject: ash: Display system background while loading wallpaper. When the wallpaper takes a long time to load, areas of the screen that aren't covered by other layers are painted white. This looks okay when we first boot, but not when we're displaying the login after logging out or while we're starting a guest session. This makes us instead initialize SystemBackgroundController immediately with either a #fefefe or black color depending on whether this is the first Chrome run after boot or not. Its color is updated to black after the login wallpaper animation is finished. BUG=151111,152751 Review URL: https://chromiumcodereview.appspot.com/11054005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159822 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/shell/shell_delegate_impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ash/shell/shell_delegate_impl.h') diff --git a/ash/shell/shell_delegate_impl.h b/ash/shell/shell_delegate_impl.h index 82e5347..a8a8944 100644 --- a/ash/shell/shell_delegate_impl.h +++ b/ash/shell/shell_delegate_impl.h @@ -23,6 +23,7 @@ class ShellDelegateImpl : public ash::ShellDelegate { virtual bool IsUserLoggedIn() OVERRIDE; virtual bool IsSessionStarted() OVERRIDE; + virtual bool IsFirstRunAfterBoot() OVERRIDE; virtual void LockScreen() OVERRIDE; virtual void UnlockScreen() OVERRIDE; virtual bool IsScreenLocked() const OVERRIDE; -- cgit v1.1