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 // The desktop background window.
37 const int kShellWindowId_DesktopBackgroundContainer
= 4;
39 // TODO(sky): rename kShellWindowId_DefaultContainer.
41 // The container for standard top-level windows.
42 // WARNING: the only children of kShellWindowId_DefaultContainer are
43 // kShellWindowId_WorkspaceContainer.
44 const int kShellWindowId_DefaultContainer
= 5;
46 // Used by Worskpace2 for each workspace. Contains standard top-level windows.
47 // WARNING: there may be more than one container with this id.
48 const int kShellWindowId_WorkspaceContainer
= 6;
50 // The container for top-level windows with the 'always-on-top' flag set.
51 const int kShellWindowId_AlwaysOnTopContainer
= 7;
53 // The container for panel windows.
54 const int kShellWindowId_PanelContainer
= 8;
56 // The container for the shelf.
57 const int kShellWindowId_ShelfContainer
= 9;
59 // The container for the app list.
60 const int kShellWindowId_AppListContainer
= 10;
62 // The container for user-specific modal windows.
63 const int kShellWindowId_SystemModalContainer
= 11;
65 // The container for input method components such like candidate windows. They
66 // are almost panels but have no activations/focus, and they should appear over
67 // the AppList and SystemModal dialogs.
68 const int kShellWindowId_InputMethodContainer
= 12;
70 // The container for the lock screen background.
71 const int kShellWindowId_LockScreenBackgroundContainer
= 13;
73 // The container for the lock screen.
74 const int kShellWindowId_LockScreenContainer
= 14;
76 // The container for the lock screen modal windows.
77 const int kShellWindowId_LockSystemModalContainer
= 15;
79 // The container for the status area.
80 const int kShellWindowId_StatusContainer
= 16;
82 // The container for menus.
83 const int kShellWindowId_MenuContainer
= 17;
85 // The container for drag/drop images and tooltips.
86 const int kShellWindowId_DragImageAndTooltipContainer
= 18;
88 // The container for bubbles briefly overlaid onscreen to show settings changes
89 // (volume, brightness, etc.).
90 const int kShellWindowId_SettingBubbleContainer
= 19;
92 // The container for special components overlaid onscreen, such as the
93 // region selector for partial screenshots.
94 const int kShellWindowId_OverlayContainer
= 20;
96 // ID of the window created by PhantomWindowController or DragWindowController.
97 const int kShellWindowId_PhantomWindow
= 21;
99 // The topmost container, used for power off animation.
100 const int kShellWindowId_PowerButtonAnimationContainer
= 22;
102 } // namespace internal
107 #endif // ASH_SHELL_WINDOW_IDS_H_