| 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 #include "ash/wm/common/wm_shell_window_ids.h" | 8 #include "ash/wm/common/wm_shell_window_ids.h" |
| 9 | 9 |
| 10 // Declarations of ids of special shell windows. | 10 // Declarations of ids of special shell windows. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 // The container for standard top-level windows. Defined in wm_shell_window_ids. | 40 // The container for standard top-level windows. Defined in wm_shell_window_ids. |
| 41 // kShellWindowId_DefaultContainer = 6; | 41 // kShellWindowId_DefaultContainer = 6; |
| 42 | 42 |
| 43 // The container for top-level windows with the 'always-on-top' flag set. | 43 // The container for top-level windows with the 'always-on-top' flag set. |
| 44 // kShellWindowId_AlwaysOnTopContainer = 7; | 44 // kShellWindowId_AlwaysOnTopContainer = 7; |
| 45 | 45 |
| 46 // The container for windows docked to either side of the desktop. Defined in | 46 // The container for windows docked to either side of the desktop. Defined in |
| 47 // wm_shell_window_ids. | 47 // wm_shell_window_ids. |
| 48 // kShellWindowId_DockedContainer = 8; | 48 // kShellWindowId_DockedContainer = 8; |
| 49 | 49 |
| 50 // The container for the shelf. | 50 // The container for the shelf. Defined in wm_shell_window_ids. |
| 51 const int kShellWindowId_ShelfContainer = 9; | 51 // kShellWindowId_ShelfContainer = 9; |
| 52 | 52 |
| 53 // The container for bubbles which float over the shelf. | 53 // The container for bubbles which float over the shelf. |
| 54 const int kShellWindowId_ShelfBubbleContainer = 10; | 54 const int kShellWindowId_ShelfBubbleContainer = 10; |
| 55 | 55 |
| 56 // The container for panel windows. Defined in wm_shell_window_ids. | 56 // The container for panel windows. Defined in wm_shell_window_ids. |
| 57 // kShellWindowId_PanelContainer = 11; | 57 // kShellWindowId_PanelContainer = 11; |
| 58 | 58 |
| 59 // The container for the app list. Defined in wm_shell_window_ids. | 59 // The container for the app list. Defined in wm_shell_window_ids. |
| 60 // kShellWindowId_AppListContainer = 12; | 60 // kShellWindowId_AppListContainer = 12; |
| 61 | 61 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 87 | 87 |
| 88 // The container for bubbles briefly overlaid onscreen to show settings changes | 88 // The container for bubbles briefly overlaid onscreen to show settings changes |
| 89 // (volume, brightness, input method bubbles, etc.). | 89 // (volume, brightness, input method bubbles, etc.). |
| 90 const int kShellWindowId_SettingBubbleContainer = 21; | 90 const int kShellWindowId_SettingBubbleContainer = 21; |
| 91 | 91 |
| 92 // The container for special components overlaid onscreen, such as the | 92 // The container for special components overlaid onscreen, such as the |
| 93 // region selector for partial screenshots. | 93 // region selector for partial screenshots. |
| 94 const int kShellWindowId_OverlayContainer = 22; | 94 const int kShellWindowId_OverlayContainer = 22; |
| 95 | 95 |
| 96 // ID of the window created by PhantomWindowController or DragWindowController. | 96 // ID of the window created by PhantomWindowController or DragWindowController. |
| 97 const int kShellWindowId_PhantomWindow = 23; | 97 // Defined in wm_shell_window_ids. |
| 98 // kShellWindowId_PhantomWindow = 23; |
| 98 | 99 |
| 99 // The container for mouse cursor. | 100 // The container for mouse cursor. |
| 100 const int kShellWindowId_MouseCursorContainer = 24; | 101 const int kShellWindowId_MouseCursorContainer = 24; |
| 101 | 102 |
| 102 // The topmost container, used for power off animation. | 103 // The topmost container, used for power off animation. |
| 103 const int kShellWindowId_PowerButtonAnimationContainer = 25; | 104 const int kShellWindowId_PowerButtonAnimationContainer = 25; |
| 104 | 105 |
| 105 static_assert((kShellWindowId_DefaultContainer - 1 == | 106 static_assert((kShellWindowId_DefaultContainer - 1 == |
| 106 kShellWindowId_VirtualKeyboardContainer) && | 107 kShellWindowId_VirtualKeyboardContainer) && |
| 107 (kShellWindowId_DefaultContainer + 1 == | 108 (kShellWindowId_DefaultContainer + 1 == |
| 108 kShellWindowId_AlwaysOnTopContainer), | 109 kShellWindowId_AlwaysOnTopContainer), |
| 109 "default between keyboard and always-on-top"); | 110 "default between keyboard and always-on-top"); |
| 110 | 111 |
| 111 static_assert((kShellWindowId_AlwaysOnTopContainer - 1 == | 112 static_assert((kShellWindowId_AlwaysOnTopContainer - 1 == |
| 112 kShellWindowId_DefaultContainer) && | 113 kShellWindowId_DefaultContainer) && |
| 113 (kShellWindowId_AlwaysOnTopContainer + 1 == | 114 (kShellWindowId_AlwaysOnTopContainer + 1 == |
| 114 kShellWindowId_DockedContainer), | 115 kShellWindowId_DockedContainer), |
| 115 "always-on-top between default and docked"); | 116 "always-on-top between default and docked"); |
| 116 | 117 |
| 117 static_assert((kShellWindowId_DockedContainer - 1 == | 118 static_assert((kShellWindowId_DockedContainer - 1 == |
| 118 kShellWindowId_AlwaysOnTopContainer) && | 119 kShellWindowId_AlwaysOnTopContainer) && |
| 119 (kShellWindowId_DockedContainer + 1 == | 120 (kShellWindowId_DockedContainer + 1 == |
| 120 kShellWindowId_ShelfContainer), | 121 kShellWindowId_ShelfContainer), |
| 121 "docked between always-on-top and shelf"); | 122 "docked between always-on-top and shelf"); |
| 122 | 123 |
| 124 static_assert((kShellWindowId_ShelfContainer - 1 == |
| 125 kShellWindowId_DockedContainer) && |
| 126 (kShellWindowId_ShelfContainer + 1 == |
| 127 kShellWindowId_ShelfBubbleContainer), |
| 128 "shelf between docked and shelf-bubble"); |
| 129 |
| 123 static_assert((kShellWindowId_PanelContainer - 1 == | 130 static_assert((kShellWindowId_PanelContainer - 1 == |
| 124 kShellWindowId_ShelfBubbleContainer) && | 131 kShellWindowId_ShelfBubbleContainer) && |
| 125 (kShellWindowId_PanelContainer + 1 == | 132 (kShellWindowId_PanelContainer + 1 == |
| 126 kShellWindowId_AppListContainer), | 133 kShellWindowId_AppListContainer), |
| 127 "panel between shelf-bubble and app-list"); | 134 "panel between shelf-bubble and app-list"); |
| 128 | 135 |
| 129 static_assert((kShellWindowId_AppListContainer - 1 == | 136 static_assert((kShellWindowId_AppListContainer - 1 == |
| 130 kShellWindowId_PanelContainer) && | 137 kShellWindowId_PanelContainer) && |
| 131 (kShellWindowId_AppListContainer + 1 == | 138 (kShellWindowId_AppListContainer + 1 == |
| 132 kShellWindowId_SystemModalContainer), | 139 kShellWindowId_SystemModalContainer), |
| 133 "app-list between panel and system-modal"); | 140 "app-list between panel and system-modal"); |
| 134 | 141 |
| 142 static_assert((kShellWindowId_PhantomWindow - 1 == |
| 143 kShellWindowId_OverlayContainer) && |
| 144 (kShellWindowId_PhantomWindow + 1 == |
| 145 kShellWindowId_MouseCursorContainer), |
| 146 "phanton between overlay and mouse-cursor"); |
| 147 |
| 135 } // namespace ash | 148 } // namespace ash |
| 136 | 149 |
| 137 #endif // ASH_SHELL_WINDOW_IDS_H_ | 150 #endif // ASH_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |