blob: 88a923b3ca21f12347bf568447b9278b4e26e182 [file] [log] [blame]
[email protected]cec568d6f2012-01-07 00:49:261// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]22cba5b2011-09-30 17:09:212// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]b65bdda2011-12-23 23:35:315#ifndef ASH_SHELL_WINDOW_IDS_H_
6#define ASH_SHELL_WINDOW_IDS_H_
[email protected]22cba5b2011-09-30 17:09:217
8// Declarations of ids of special shell windows.
9
[email protected]55f593352011-12-24 05:42:4610namespace ash {
[email protected]22cba5b2011-09-30 17:09:2111
[email protected]f52a07292012-02-23 19:06:1412// A higher-level container that holds all of the containers stacked below
13// kShellWindowId_LockScreenContainer. Only used by PowerButtonController for
14// animating lower-level containers.
15const int kShellWindowId_NonLockScreenContainersContainer = 0;
16
17// A higher-level container that holds containers that hold lock-screen
18// windows. Only used by PowerButtonController for animating lower-level
19// containers.
20const int kShellWindowId_LockScreenContainersContainer = 1;
21
22// A higher-level container that holds containers that hold lock-screen-related
23// windows (which we want to display while the screen is locked; effectively
24// containers stacked above kShellWindowId_LockSystemModalContainer). Only used
25// by PowerButtonController for animating lower-level containers.
26const int kShellWindowId_LockScreenRelatedContainersContainer = 2;
27
[email protected]392cb7b2012-01-20 23:08:5828// A container used for windows of WINDOW_TYPE_CONTROL that have no parent.
29// This container is not visible.
[email protected]f52a07292012-02-23 19:06:1430const int kShellWindowId_UnparentedControlContainer = 3;
[email protected]392cb7b2012-01-20 23:08:5831
[email protected]22cba5b2011-09-30 17:09:2132// The desktop background window.
[email protected]e6e41d2f2012-10-29 19:22:1933const int kShellWindowId_DesktopBackgroundContainer = 4;
[email protected]22cba5b2011-09-30 17:09:2134
[email protected]eff4c7f2013-08-13 01:45:5035// The virtual keyboard container.
36const int kShellWindowId_VirtualKeyboardContainer = 5;
37
[email protected]ef0e32cc2012-10-31 20:57:3338// TODO(sky): rename kShellWindowId_DefaultContainer.
[email protected]95058572012-08-20 14:57:2939
[email protected]22cba5b2011-09-30 17:09:2140// The container for standard top-level windows.
[email protected]eff4c7f2013-08-13 01:45:5041const int kShellWindowId_DefaultContainer = 6;
[email protected]22cba5b2011-09-30 17:09:2142
43// The container for top-level windows with the 'always-on-top' flag set.
[email protected]eff4c7f2013-08-13 01:45:5044const int kShellWindowId_AlwaysOnTopContainer = 7;
[email protected]22cba5b2011-09-30 17:09:2145
[email protected]beb4e5c2013-06-18 15:37:0746// The container for windows docked to either side of the desktop.
[email protected]eff4c7f2013-08-13 01:45:5047const int kShellWindowId_DockedContainer = 8;
[email protected]beb4e5c2013-06-18 15:37:0748
[email protected]478c6c32013-03-09 02:50:5849// The container for the shelf.
[email protected]f2026eb2013-10-22 14:28:5650const int kShellWindowId_ShelfContainer = 9;
51
52// The container for bubbles which float over the shelf.
53const int kShellWindowId_ShelfBubbleContainer = 10;
54
55// The container for panel windows.
56const int kShellWindowId_PanelContainer = 11;
[email protected]22cba5b2011-09-30 17:09:2157
[email protected]c066b8d2012-03-26 00:23:1658// The container for the app list.
[email protected]f2026eb2013-10-22 14:28:5659const int kShellWindowId_AppListContainer = 12;
[email protected]c066b8d2012-03-26 00:23:1660
[email protected]e29014c2011-11-16 18:25:5161// The container for user-specific modal windows.
[email protected]f2026eb2013-10-22 14:28:5662const int kShellWindowId_SystemModalContainer = 13;
[email protected]e29014c2011-11-16 18:25:5163
[email protected]b4ddc7a2012-08-07 04:17:3264// The container for the lock screen background.
[email protected]6d94e3f2014-04-23 04:29:1165const int kShellWindowId_LockScreenBackgroundContainer = 14;
[email protected]b4ddc7a2012-08-07 04:17:3266
[email protected]22cba5b2011-09-30 17:09:2167// The container for the lock screen.
[email protected]6d94e3f2014-04-23 04:29:1168const int kShellWindowId_LockScreenContainer = 15;
[email protected]22cba5b2011-09-30 17:09:2169
[email protected]55bdb502011-11-29 20:26:2570// The container for the lock screen modal windows.
[email protected]6d94e3f2014-04-23 04:29:1171const int kShellWindowId_LockSystemModalContainer = 16;
[email protected]55bdb502011-11-29 20:26:2572
[email protected]22cba5b2011-09-30 17:09:2173// The container for the status area.
[email protected]6d94e3f2014-04-23 04:29:1174const int kShellWindowId_StatusContainer = 17;
[email protected]22cba5b2011-09-30 17:09:2175
bshec3875422014-09-29 13:21:3076// A parent container that holds the virtual keyboard container and ime windows
77// if any. This is to ensure that the virtual keyboard or ime window is stacked
78// above most containers but below the mouse cursor and the power off animation.
79const int kShellWindowId_ImeWindowParentContainer = 18;
kevers23f3987d2014-09-17 13:50:1280
[email protected]9dea0a22012-02-02 20:00:4381// The container for menus.
kevers23f3987d2014-09-17 13:50:1282const int kShellWindowId_MenuContainer = 19;
[email protected]9dea0a22012-02-02 20:00:4383
84// The container for drag/drop images and tooltips.
kevers23f3987d2014-09-17 13:50:1285const int kShellWindowId_DragImageAndTooltipContainer = 20;
[email protected]cec568d6f2012-01-07 00:49:2686
87// The container for bubbles briefly overlaid onscreen to show settings changes
[email protected]6d94e3f2014-04-23 04:29:1188// (volume, brightness, input method bubbles, etc.).
kevers23f3987d2014-09-17 13:50:1289const int kShellWindowId_SettingBubbleContainer = 21;
[email protected]87b0d82e2011-10-07 21:02:5990
[email protected]0b0b0742012-02-16 13:23:4591// The container for special components overlaid onscreen, such as the
92// region selector for partial screenshots.
kevers23f3987d2014-09-17 13:50:1293const int kShellWindowId_OverlayContainer = 22;
[email protected]0b0b0742012-02-16 13:23:4594
[email protected]c38f9412012-12-04 21:18:2195// ID of the window created by PhantomWindowController or DragWindowController.
kevers23f3987d2014-09-17 13:50:1296const int kShellWindowId_PhantomWindow = 23;
[email protected]b2da9b602014-03-05 18:39:5297
98// The container for mouse cursor.
[email protected]6d94e3f2014-04-23 04:29:1199const int kShellWindowId_MouseCursorContainer = 24;
[email protected]b2da9b602014-03-05 18:39:52100
[email protected]a07615f2012-10-24 08:23:08101// The topmost container, used for power off animation.
[email protected]6d94e3f2014-04-23 04:29:11102const int kShellWindowId_PowerButtonAnimationContainer = 25;
[email protected]a07615f2012-10-24 08:23:08103
[email protected]55f593352011-12-24 05:42:46104} // namespace ash
[email protected]22cba5b2011-09-30 17:09:21105
106
[email protected]b65bdda2011-12-23 23:35:31107#endif // ASH_SHELL_WINDOW_IDS_H_