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 18 matching lines...) Expand all Loading... |
29 // by PowerButtonController for animating lower-level containers. | 29 // by PowerButtonController for animating lower-level containers. |
30 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; | 30 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; |
31 | 31 |
32 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. | 32 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. |
33 // This container is not visible. | 33 // This container is not visible. |
34 const int kShellWindowId_UnparentedControlContainer = 3; | 34 const int kShellWindowId_UnparentedControlContainer = 3; |
35 | 35 |
36 // The desktop background window. | 36 // The desktop background window. |
37 const int kShellWindowId_DesktopBackgroundContainer = 4; | 37 const int kShellWindowId_DesktopBackgroundContainer = 4; |
38 | 38 |
| 39 // The virtual keyboard container. |
| 40 const int kShellWindowId_VirtualKeyboardContainer = 5; |
| 41 |
39 // TODO(sky): rename kShellWindowId_DefaultContainer. | 42 // TODO(sky): rename kShellWindowId_DefaultContainer. |
40 | 43 |
41 // The container for standard top-level windows. | 44 // The container for standard top-level windows. |
42 const int kShellWindowId_DefaultContainer = 5; | 45 const int kShellWindowId_DefaultContainer = 6; |
43 | 46 |
44 // The container for top-level windows with the 'always-on-top' flag set. | 47 // The container for top-level windows with the 'always-on-top' flag set. |
45 const int kShellWindowId_AlwaysOnTopContainer = 6; | 48 const int kShellWindowId_AlwaysOnTopContainer = 7; |
46 | 49 |
47 // The container for windows docked to either side of the desktop. | 50 // The container for windows docked to either side of the desktop. |
48 const int kShellWindowId_DockedContainer = 7; | 51 const int kShellWindowId_DockedContainer = 8; |
49 | 52 |
50 // The container for panel windows. | 53 // The container for panel windows. |
51 const int kShellWindowId_PanelContainer = 8; | 54 const int kShellWindowId_PanelContainer = 9; |
52 | 55 |
53 // The container for the shelf. | 56 // The container for the shelf. |
54 const int kShellWindowId_ShelfContainer = 9; | 57 const int kShellWindowId_ShelfContainer = 10; |
55 | 58 |
56 // The container for the app list. | 59 // The container for the app list. |
57 const int kShellWindowId_AppListContainer = 10; | 60 const int kShellWindowId_AppListContainer = 11; |
58 | 61 |
59 // The container for user-specific modal windows. | 62 // The container for user-specific modal windows. |
60 const int kShellWindowId_SystemModalContainer = 11; | 63 const int kShellWindowId_SystemModalContainer = 12; |
61 | 64 |
62 // The container for input method components such like candidate windows. They | 65 // The container for input method components such like candidate windows. They |
63 // are almost panels but have no activations/focus, and they should appear over | 66 // are almost panels but have no activations/focus, and they should appear over |
64 // the AppList and SystemModal dialogs. | 67 // the AppList and SystemModal dialogs. |
65 const int kShellWindowId_InputMethodContainer = 12; | 68 const int kShellWindowId_InputMethodContainer = 13; |
66 | 69 |
67 // The container for the lock screen background. | 70 // The container for the lock screen background. |
68 const int kShellWindowId_LockScreenBackgroundContainer = 13; | 71 const int kShellWindowId_LockScreenBackgroundContainer = 14; |
69 | 72 |
70 // The container for the lock screen. | 73 // The container for the lock screen. |
71 const int kShellWindowId_LockScreenContainer = 14; | 74 const int kShellWindowId_LockScreenContainer = 15; |
72 | 75 |
73 // The container for the lock screen modal windows. | 76 // The container for the lock screen modal windows. |
74 const int kShellWindowId_LockSystemModalContainer = 15; | 77 const int kShellWindowId_LockSystemModalContainer = 16; |
75 | 78 |
76 // The container for the status area. | 79 // The container for the status area. |
77 const int kShellWindowId_StatusContainer = 16; | 80 const int kShellWindowId_StatusContainer = 17; |
78 | 81 |
79 // The container for menus. | 82 // The container for menus. |
80 const int kShellWindowId_MenuContainer = 17; | 83 const int kShellWindowId_MenuContainer = 18; |
81 | 84 |
82 // The container for drag/drop images and tooltips. | 85 // The container for drag/drop images and tooltips. |
83 const int kShellWindowId_DragImageAndTooltipContainer = 18; | 86 const int kShellWindowId_DragImageAndTooltipContainer = 19; |
84 | 87 |
85 // The container for bubbles briefly overlaid onscreen to show settings changes | 88 // The container for bubbles briefly overlaid onscreen to show settings changes |
86 // (volume, brightness, etc.). | 89 // (volume, brightness, etc.). |
87 const int kShellWindowId_SettingBubbleContainer = 19; | 90 const int kShellWindowId_SettingBubbleContainer = 20; |
88 | 91 |
89 // The container for special components overlaid onscreen, such as the | 92 // The container for special components overlaid onscreen, such as the |
90 // region selector for partial screenshots. | 93 // region selector for partial screenshots. |
91 const int kShellWindowId_OverlayContainer = 20; | 94 const int kShellWindowId_OverlayContainer = 21; |
92 | 95 |
93 // ID of the window created by PhantomWindowController or DragWindowController. | 96 // ID of the window created by PhantomWindowController or DragWindowController. |
94 const int kShellWindowId_PhantomWindow = 21; | 97 const int kShellWindowId_PhantomWindow = 22; |
95 | 98 |
96 // The topmost container, used for power off animation. | 99 // The topmost container, used for power off animation. |
97 const int kShellWindowId_PowerButtonAnimationContainer = 22; | 100 const int kShellWindowId_PowerButtonAnimationContainer = 23; |
98 | 101 |
99 } // namespace internal | 102 } // namespace internal |
100 | 103 |
101 } // namespace ash | 104 } // namespace ash |
102 | 105 |
103 | 106 |
104 #endif // ASH_SHELL_WINDOW_IDS_H_ | 107 #endif // ASH_SHELL_WINDOW_IDS_H_ |
OLD | NEW |