summaryrefslogtreecommitdiffstats
path: root/ash/shell_window_ids.h
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-03 01:15:10 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-03 01:15:10 +0000
commit697f04c0a9168dfb3b85f8764ad9e4fb32e369e3 (patch)
tree2a06773998e72c5ea2d06869aab03567f9463bf5 /ash/shell_window_ids.h
parentabd82e6cf2b284bc839acf9984d90111787a9065 (diff)
downloadchromium_src-697f04c0a9168dfb3b85f8764ad9e4fb32e369e3.zip
chromium_src-697f04c0a9168dfb3b85f8764ad9e4fb32e369e3.tar.gz
chromium_src-697f04c0a9168dfb3b85f8764ad9e4fb32e369e3.tar.bz2
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
Diffstat (limited to 'ash/shell_window_ids.h')
-rw-r--r--ash/shell_window_ids.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ash/shell_window_ids.h b/ash/shell_window_ids.h
index 347f3d8..f4aca62 100644
--- a/ash/shell_window_ids.h
+++ b/ash/shell_window_ids.h
@@ -34,9 +34,10 @@ const int kShellWindowId_LockScreenRelatedContainersContainer = 2;
const int kShellWindowId_UnparentedControlContainer = 3;
// System level background. Sits beneach the desktop background and is only
-// visible when in a workspace other than the desktop. When switching from the
-// desktop workspace to to another workspace the desktop background scales
-// slightly. This exposes the system level background beneath it.
+// visible when the desktop background has not yet been loaded or a workspace
+// other than the desktop is being displayed. When switching from the desktop
+// workspace to to another workspace the desktop background scales slightly.
+// This exposes the system level background beneath it.
const int kShellWindowId_SystemBackgroundContainer = 4;
// The desktop background window.