diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-23 19:06:14 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-23 19:06:14 +0000 |
commit | f52a0729191ddef51bfa54aec61a3cc0083e2570 (patch) | |
tree | 95c40642fc37003097d57b3f70c43c47fb7166a1 /ash/shell_window_ids.h | |
parent | cd609cbecfa081ec5aff94eb99022a3433827e1b (diff) | |
download | chromium_src-f52a0729191ddef51bfa54aec61a3cc0083e2570.zip chromium_src-f52a0729191ddef51bfa54aec61a3cc0083e2570.tar.gz chromium_src-f52a0729191ddef51bfa54aec61a3cc0083e2570.tar.bz2 |
ash: Create new containers for PowerButtonController.
This nests ash's existing containers inside of three new
higher-level containers-of-containers. The new higher-level
containers can be animated by PowerButtonController without
messing up transformations that have already been applied to
the lower-level containers.
BUG=114953
TEST=manual: locked and unlocked screen in compact mode with multiple browser windows
Review URL: http://codereview.chromium.org/9428056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_window_ids.h')
-rw-r--r-- | ash/shell_window_ids.h | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/ash/shell_window_ids.h b/ash/shell_window_ids.h index ff5d441..e6535ed 100644 --- a/ash/shell_window_ids.h +++ b/ash/shell_window_ids.h @@ -12,50 +12,66 @@ namespace ash { namespace internal { +// A higher-level container that holds all of the containers stacked below +// kShellWindowId_LockScreenContainer. Only used by PowerButtonController for +// animating lower-level containers. +const int kShellWindowId_NonLockScreenContainersContainer = 0; + +// A higher-level container that holds containers that hold lock-screen +// windows. Only used by PowerButtonController for animating lower-level +// containers. +const int kShellWindowId_LockScreenContainersContainer = 1; + +// A higher-level container that holds containers that hold lock-screen-related +// windows (which we want to display while the screen is locked; effectively +// containers stacked above kShellWindowId_LockSystemModalContainer). Only used +// by PowerButtonController for animating lower-level containers. +const int kShellWindowId_LockScreenRelatedContainersContainer = 2; + // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. // This container is not visible. -const int kShellWindowId_UnparentedControlContainer = 0; +const int kShellWindowId_UnparentedControlContainer = 3; // The desktop background window. -const int kShellWindowId_DesktopBackgroundContainer = 1; +const int kShellWindowId_DesktopBackgroundContainer = 4; // The container for standard top-level windows. -const int kShellWindowId_DefaultContainer = 2; +const int kShellWindowId_DefaultContainer = 5; // The container for top-level windows with the 'always-on-top' flag set. -const int kShellWindowId_AlwaysOnTopContainer = 3; +const int kShellWindowId_AlwaysOnTopContainer = 6; // The container for panel windows. -const int kShellWindowId_PanelContainer = 4; +const int kShellWindowId_PanelContainer = 7; // The container for the launcher. -const int kShellWindowId_LauncherContainer = 5; +const int kShellWindowId_LauncherContainer = 8; // The container for user-specific modal windows. -const int kShellWindowId_SystemModalContainer = 6; +const int kShellWindowId_SystemModalContainer = 9; // The container for the lock screen. -const int kShellWindowId_LockScreenContainer = 7; +const int kShellWindowId_LockScreenContainer = 10; // The container for the lock screen modal windows. -const int kShellWindowId_LockSystemModalContainer = 8; +const int kShellWindowId_LockSystemModalContainer = 11; // The container for the status area. -const int kShellWindowId_StatusContainer = 9; +const int kShellWindowId_StatusContainer = 12; // The container for menus. -const int kShellWindowId_MenuContainer = 10; +const int kShellWindowId_MenuContainer = 13; // The container for drag/drop images and tooltips. -const int kShellWindowId_DragImageAndTooltipContainer = 11; +const int kShellWindowId_DragImageAndTooltipContainer = 14; // The container for bubbles briefly overlaid onscreen to show settings changes // (volume, brightness, etc.). -const int kShellWindowId_SettingBubbleContainer = 12; +const int kShellWindowId_SettingBubbleContainer = 15; // The container for special components overlaid onscreen, such as the // region selector for partial screenshots. -const int kShellWindowId_OverlayContainer = 13; +const int kShellWindowId_OverlayContainer = 16; } // namespace internal |