1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SHELL_WINDOW_IDS_H_
6 #define ASH_SHELL_WINDOW_IDS_H_
8 // Declarations of ids of special shell windows.
12 // TODO: we're using this in random places outside of ash, it shouldn't be in
16 // A higher-level container that holds all of the containers stacked below
17 // kShellWindowId_LockScreenContainer. Only used by PowerButtonController for
18 // animating lower-level containers.
19 const int kShellWindowId_NonLockScreenContainersContainer
= 0;
21 // A higher-level container that holds containers that hold lock-screen
22 // windows. Only used by PowerButtonController for animating lower-level
24 const int kShellWindowId_LockScreenContainersContainer
= 1;
26 // A higher-level container that holds containers that hold lock-screen-related
27 // windows (which we want to display while the screen is locked; effectively
28 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used
29 // by PowerButtonController for animating lower-level containers.
30 const int kShellWindowId_LockScreenRelatedContainersContainer
= 2;
32 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent.
33 // This container is not visible.
34 const int kShellWindowId_UnparentedControlContainer
= 3;
36 // System level background. Sits beneach the desktop background and is only
37 // visible when in a workspace other than the desktop. When switching from the
38 // desktop workspace to to another workspace the desktop background scales
39 // slightly. This exposes the system level background beneath it.
40 const int kShellWindowId_SystemBackgroundContainer
= 4;
42 // The desktop background window.
43 const int kShellWindowId_DesktopBackgroundContainer
= 5;
45 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the
48 // The container for standard top-level windows.
49 // WARNING: when Workspace2 is enabled the only children of
50 // kShellWindowId_DefaultContainer are kShellWindowId_WorkspaceContainer.
51 const int kShellWindowId_DefaultContainer
= 6;
53 // Used by Worskpace2 for each workspace. Contains standard top-level windows.
54 // WARNING: there may be more than one container with this id.
55 const int kShellWindowId_WorkspaceContainer
= 7;
57 // The container for top-level windows with the 'always-on-top' flag set.
58 const int kShellWindowId_AlwaysOnTopContainer
= 8;
60 // The container for panel windows.
61 const int kShellWindowId_PanelContainer
= 9;
63 // The container for the launcher.
64 const int kShellWindowId_LauncherContainer
= 10;
66 // The container for the app list.
67 const int kShellWindowId_AppListContainer
= 11;
69 // The container for user-specific modal windows.
70 const int kShellWindowId_SystemModalContainer
= 12;
72 // The container for input method components such like candidate windows. They
73 // are almost panels but have no activations/focus, and they should appear over
74 // the AppList and SystemModal dialogs.
75 const int kShellWindowId_InputMethodContainer
= 13;
77 // The container for the lock screen background.
78 const int kShellWindowId_LockScreenBackgroundContainer
= 14;
80 // The container for the lock screen.
81 const int kShellWindowId_LockScreenContainer
= 15;
83 // The container for the lock screen modal windows.
84 const int kShellWindowId_LockSystemModalContainer
= 16;
86 // The container for the status area.
87 const int kShellWindowId_StatusContainer
= 17;
89 // The container for menus.
90 const int kShellWindowId_MenuContainer
= 18;
92 // The container for drag/drop images and tooltips.
93 const int kShellWindowId_DragImageAndTooltipContainer
= 19;
95 // The container for bubbles briefly overlaid onscreen to show settings changes
96 // (volume, brightness, etc.).
97 const int kShellWindowId_SettingBubbleContainer
= 20;
99 // The container for special components overlaid onscreen, such as the
100 // region selector for partial screenshots.
101 const int kShellWindowId_OverlayContainer
= 21;
103 // ID of the window created by PhantomWindowController.
104 const int kShellWindowId_PhantomWindow
= 22;
106 } // namespace internal
111 #endif // ASH_SHELL_WINDOW_IDS_H_