summaryrefslogtreecommitdiffstats
path: root/ash/shell_window_ids.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-20 23:08:58 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-20 23:08:58 +0000
commit392cb7bd8a59088f06b4ba41ec6225bcd2e36e93 (patch)
tree56a62969ac4ff0c14d8bce47787575ef928f648b /ash/shell_window_ids.h
parent218b229ae37b3ec8abcc6e13dd02d7d4b22c9f16 (diff)
downloadchromium_src-392cb7bd8a59088f06b4ba41ec6225bcd2e36e93.zip
chromium_src-392cb7bd8a59088f06b4ba41ec6225bcd2e36e93.tar.gz
chromium_src-392cb7bd8a59088f06b4ba41ec6225bcd2e36e93.tar.bz2
Stack un-parented control windows in their own container. This prevents them from interfering in existing window layout heuristics/animations.
BUG=none TEST=existing Review URL: https://chromiumcodereview.appspot.com/9138026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_window_ids.h')
-rw-r--r--ash/shell_window_ids.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/ash/shell_window_ids.h b/ash/shell_window_ids.h
index 6376ef7..fcca022 100644
--- a/ash/shell_window_ids.h
+++ b/ash/shell_window_ids.h
@@ -12,39 +12,43 @@ namespace ash {
namespace internal {
+// A container used for windows of WINDOW_TYPE_CONTROL that have no parent.
+// This container is not visible.
+const int kShellWindowId_UnparentedControlContainer = 0;
+
// The desktop background window.
-const int kShellWindowId_DesktopBackgroundContainer = 0;
+const int kShellWindowId_DesktopBackgroundContainer = 1;
// The container for standard top-level windows.
-const int kShellWindowId_DefaultContainer = 1;
+const int kShellWindowId_DefaultContainer = 2;
// The container for top-level windows with the 'always-on-top' flag set.
-const int kShellWindowId_AlwaysOnTopContainer = 2;
+const int kShellWindowId_AlwaysOnTopContainer = 3;
// The container for panel windows.
-const int kShellWindowId_PanelContainer = 3;
+const int kShellWindowId_PanelContainer = 4;
// The container for the launcher.
-const int kShellWindowId_LauncherContainer = 4;
+const int kShellWindowId_LauncherContainer = 5;
// The container for user-specific modal windows.
-const int kShellWindowId_SystemModalContainer = 5;
+const int kShellWindowId_SystemModalContainer = 6;
// The container for the lock screen.
-const int kShellWindowId_LockScreenContainer = 6;
+const int kShellWindowId_LockScreenContainer = 7;
// The container for the lock screen modal windows.
-const int kShellWindowId_LockSystemModalContainer = 7;
+const int kShellWindowId_LockSystemModalContainer = 8;
// The container for the status area.
-const int kShellWindowId_StatusContainer = 8;
+const int kShellWindowId_StatusContainer = 9;
// The container for menus and tooltips.
-const int kShellWindowId_MenuAndTooltipContainer = 9;
+const int kShellWindowId_MenuAndTooltipContainer = 10;
// The container for bubbles briefly overlaid onscreen to show settings changes
// (volume, brightness, etc.).
-const int kShellWindowId_SettingBubbleContainer = 10;
+const int kShellWindowId_SettingBubbleContainer = 11;
} // namespace internal