OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_SHELL_WINDOW_IDS_H_ | 5 #ifndef ASH_SHELL_WINDOW_IDS_H_ |
6 #define ASH_SHELL_WINDOW_IDS_H_ | 6 #define ASH_SHELL_WINDOW_IDS_H_ |
7 | 7 |
8 // Declarations of ids of special shell windows. | 8 // Declarations of ids of special shell windows. |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
(...skipping 16 matching lines...) Expand all Loading... |
27 // by PowerButtonController for animating lower-level containers. | 27 // by PowerButtonController for animating lower-level containers. |
28 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; | 28 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; |
29 | 29 |
30 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. | 30 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. |
31 // This container is not visible. | 31 // This container is not visible. |
32 const int kShellWindowId_UnparentedControlContainer = 3; | 32 const int kShellWindowId_UnparentedControlContainer = 3; |
33 | 33 |
34 // The desktop background window. | 34 // The desktop background window. |
35 const int kShellWindowId_DesktopBackgroundContainer = 4; | 35 const int kShellWindowId_DesktopBackgroundContainer = 4; |
36 | 36 |
| 37 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the |
| 38 // default. |
| 39 |
37 // The container for standard top-level windows. | 40 // The container for standard top-level windows. |
| 41 // WARNING: when Workspace2 is enabled the only children of |
| 42 // kShellWindowId_DefaultContainer are kShellWindowId_WorkspaceContainer. |
38 const int kShellWindowId_DefaultContainer = 5; | 43 const int kShellWindowId_DefaultContainer = 5; |
39 | 44 |
| 45 // Used by Worskpace2 for each workspace. Contains standard top-level windows. |
| 46 // WARNING: there may be more than one container with this id. |
| 47 const int kShellWindowId_WorkspaceContainer = 6; |
| 48 |
40 // The container for top-level windows with the 'always-on-top' flag set. | 49 // The container for top-level windows with the 'always-on-top' flag set. |
41 const int kShellWindowId_AlwaysOnTopContainer = 6; | 50 const int kShellWindowId_AlwaysOnTopContainer = 7; |
42 | 51 |
43 // The container for panel windows. | 52 // The container for panel windows. |
44 const int kShellWindowId_PanelContainer = 7; | 53 const int kShellWindowId_PanelContainer = 8; |
45 | 54 |
46 // The container for the launcher. | 55 // The container for the launcher. |
47 const int kShellWindowId_LauncherContainer = 8; | 56 const int kShellWindowId_LauncherContainer = 9; |
48 | 57 |
49 // The container for the app list. | 58 // The container for the app list. |
50 const int kShellWindowId_AppListContainer = 9; | 59 const int kShellWindowId_AppListContainer = 10; |
51 | 60 |
52 // The container for user-specific modal windows. | 61 // The container for user-specific modal windows. |
53 const int kShellWindowId_SystemModalContainer = 10; | 62 const int kShellWindowId_SystemModalContainer = 11; |
54 | 63 |
55 // The container for input method components such like candidate windows. They | 64 // The container for input method components such like candidate windows. They |
56 // are almost panels but have no activations/focus, and they should appear over | 65 // are almost panels but have no activations/focus, and they should appear over |
57 // the AppList and SystemModal dialogs. | 66 // the AppList and SystemModal dialogs. |
58 const int kShellWindowId_InputMethodContainer = 11; | 67 const int kShellWindowId_InputMethodContainer = 12; |
59 | 68 |
60 // The container for the lock screen background. | 69 // The container for the lock screen background. |
61 const int kShellWindowId_LockScreenBackgroundContainer = 12; | 70 const int kShellWindowId_LockScreenBackgroundContainer = 13; |
62 | 71 |
63 // The container for the lock screen. | 72 // The container for the lock screen. |
64 const int kShellWindowId_LockScreenContainer = 13; | 73 const int kShellWindowId_LockScreenContainer = 14; |
65 | 74 |
66 // The container for the lock screen modal windows. | 75 // The container for the lock screen modal windows. |
67 const int kShellWindowId_LockSystemModalContainer = 14; | 76 const int kShellWindowId_LockSystemModalContainer = 15; |
68 | 77 |
69 // The container for the status area. | 78 // The container for the status area. |
70 const int kShellWindowId_StatusContainer = 15; | 79 const int kShellWindowId_StatusContainer = 16; |
71 | 80 |
72 // The container for menus. | 81 // The container for menus. |
73 const int kShellWindowId_MenuContainer = 16; | 82 const int kShellWindowId_MenuContainer = 17; |
74 | 83 |
75 // The container for drag/drop images and tooltips. | 84 // The container for drag/drop images and tooltips. |
76 const int kShellWindowId_DragImageAndTooltipContainer = 17; | 85 const int kShellWindowId_DragImageAndTooltipContainer = 18; |
77 | 86 |
78 // The container for bubbles briefly overlaid onscreen to show settings changes | 87 // The container for bubbles briefly overlaid onscreen to show settings changes |
79 // (volume, brightness, etc.). | 88 // (volume, brightness, etc.). |
80 const int kShellWindowId_SettingBubbleContainer = 18; | 89 const int kShellWindowId_SettingBubbleContainer = 19; |
81 | 90 |
82 // The container for special components overlaid onscreen, such as the | 91 // The container for special components overlaid onscreen, such as the |
83 // region selector for partial screenshots. | 92 // region selector for partial screenshots. |
84 const int kShellWindowId_OverlayContainer = 19; | 93 const int kShellWindowId_OverlayContainer = 20; |
85 | 94 |
86 } // namespace internal | 95 } // namespace internal |
87 | 96 |
88 } // namespace ash | 97 } // namespace ash |
89 | 98 |
90 | 99 |
91 #endif // ASH_SHELL_WINDOW_IDS_H_ | 100 #endif // ASH_SHELL_WINDOW_IDS_H_ |
OLD | NEW |