Revert 162447 - Temporarily remove "Swap primary monitor" from keyboard overlay for...
[chromium-blink-merge.git] / ash / shell_window_ids.h
blobf4aca62e89330ee241fd432ed2272e4e853a5deb
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.
10 namespace ash {
12 // TODO: we're using this in random places outside of ash, it shouldn't be in
13 // internal.
14 namespace internal {
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
23 // containers.
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 the desktop background has not yet been loaded or a workspace
38 // other than the desktop is being displayed. When switching from the desktop
39 // workspace to to another workspace the desktop background scales slightly.
40 // This exposes the system level background beneath it.
41 const int kShellWindowId_SystemBackgroundContainer = 4;
43 // The desktop background window.
44 const int kShellWindowId_DesktopBackgroundContainer = 5;
46 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the
47 // default.
49 // The container for standard top-level windows.
50 // WARNING: when Workspace2 is enabled the only children of
51 // kShellWindowId_DefaultContainer are kShellWindowId_WorkspaceContainer.
52 const int kShellWindowId_DefaultContainer = 6;
54 // Used by Worskpace2 for each workspace. Contains standard top-level windows.
55 // WARNING: there may be more than one container with this id.
56 const int kShellWindowId_WorkspaceContainer = 7;
58 // The container for top-level windows with the 'always-on-top' flag set.
59 const int kShellWindowId_AlwaysOnTopContainer = 8;
61 // The container for panel windows.
62 const int kShellWindowId_PanelContainer = 9;
64 // The container for the launcher.
65 const int kShellWindowId_LauncherContainer = 10;
67 // The container for the app list.
68 const int kShellWindowId_AppListContainer = 11;
70 // The container for user-specific modal windows.
71 const int kShellWindowId_SystemModalContainer = 12;
73 // The container for input method components such like candidate windows. They
74 // are almost panels but have no activations/focus, and they should appear over
75 // the AppList and SystemModal dialogs.
76 const int kShellWindowId_InputMethodContainer = 13;
78 // The container for the lock screen background.
79 const int kShellWindowId_LockScreenBackgroundContainer = 14;
81 // The container for the lock screen.
82 const int kShellWindowId_LockScreenContainer = 15;
84 // The container for the lock screen modal windows.
85 const int kShellWindowId_LockSystemModalContainer = 16;
87 // The container for the status area.
88 const int kShellWindowId_StatusContainer = 17;
90 // The container for menus.
91 const int kShellWindowId_MenuContainer = 18;
93 // The container for drag/drop images and tooltips.
94 const int kShellWindowId_DragImageAndTooltipContainer = 19;
96 // The container for bubbles briefly overlaid onscreen to show settings changes
97 // (volume, brightness, etc.).
98 const int kShellWindowId_SettingBubbleContainer = 20;
100 // The container for special components overlaid onscreen, such as the
101 // region selector for partial screenshots.
102 const int kShellWindowId_OverlayContainer = 21;
104 // ID of the window created by PhantomWindowController.
105 const int kShellWindowId_PhantomWindow = 22;
107 } // namespace internal
109 } // namespace ash
112 #endif // ASH_SHELL_WINDOW_IDS_H_