Chromium Code Reviews| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 | 86 |
| 87 // The container for drag/drop images and tooltips. Defined in | 87 // The container for drag/drop images and tooltips. Defined in |
| 88 // wm_shell_window_ids. | 88 // wm_shell_window_ids. |
| 89 // const int kShellWindowId_DragImageAndTooltipContainer = 20; | 89 // const int kShellWindowId_DragImageAndTooltipContainer = 20; |
| 90 | 90 |
| 91 // The container for bubbles briefly overlaid onscreen to show settings changes | 91 // The container for bubbles briefly overlaid onscreen to show settings changes |
| 92 // (volume, brightness, input method bubbles, etc.). | 92 // (volume, brightness, input method bubbles, etc.). |
| 93 const int kShellWindowId_SettingBubbleContainer = 21; | 93 const int kShellWindowId_SettingBubbleContainer = 21; |
| 94 | 94 |
| 95 // The container for special components overlaid onscreen, such as the | 95 // The container for special components overlaid onscreen, such as the |
| 96 // region selector for partial screenshots. | 96 // region selector for partial screenshots. Defined in wm_shell_window_ids. |
| 97 const int kShellWindowId_OverlayContainer = 22; | 97 // const int kShellWindowId_OverlayContainer = 22; |
| 98 | 98 |
| 99 // ID of the window created by PhantomWindowController or DragWindowController. | 99 // ID of the window created by PhantomWindowController or DragWindowController. |
| 100 // Defined in wm_shell_window_ids. | 100 // Defined in wm_shell_window_ids. |
| 101 // kShellWindowId_PhantomWindow = 23; | 101 // kShellWindowId_PhantomWindow = 23; |
| 102 | 102 |
| 103 // The container for mouse cursor. | 103 // The container for mouse cursor. |
| 104 const int kShellWindowId_MouseCursorContainer = 24; | 104 const int kShellWindowId_MouseCursorContainer = 24; |
| 105 | 105 |
| 106 // The topmost container, used for power off animation. | 106 // The topmost container, used for power off animation. |
| 107 const int kShellWindowId_PowerButtonAnimationContainer = 25; | 107 const int kShellWindowId_PowerButtonAnimationContainer = 25; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 173 (kShellWindowId_MenuContainer + 1 == | 173 (kShellWindowId_MenuContainer + 1 == |
| 174 kShellWindowId_DragImageAndTooltipContainer), | 174 kShellWindowId_DragImageAndTooltipContainer), |
| 175 "app-list between panel and system-modal"); | 175 "app-list between panel and system-modal"); |
| 176 | 176 |
| 177 static_assert((kShellWindowId_DragImageAndTooltipContainer - 1 == | 177 static_assert((kShellWindowId_DragImageAndTooltipContainer - 1 == |
| 178 kShellWindowId_MenuContainer) && | 178 kShellWindowId_MenuContainer) && |
| 179 (kShellWindowId_DragImageAndTooltipContainer + 1 == | 179 (kShellWindowId_DragImageAndTooltipContainer + 1 == |
| 180 kShellWindowId_SettingBubbleContainer), | 180 kShellWindowId_SettingBubbleContainer), |
| 181 "drag-image-and-tooltip between menu and settings-bubble"); | 181 "drag-image-and-tooltip between menu and settings-bubble"); |
| 182 | 182 |
| 183 static_assert((kShellWindowId_OverlayContainer - 1 == | |
| 184 kShellWindowId_SettingBubbleContainer) && | |
| 185 (kShellWindowId_OverlayContainer + 1 == | |
| 186 kShellWindowId_PhantomWindow), | |
| 187 "overlay between settings-bubble and phanton"); | |
|
James Cook
2016/05/27 00:02:50
nit: phanton -> phantom
sky
2016/05/27 03:18:03
Done.
| |
| 188 | |
| 183 static_assert((kShellWindowId_PhantomWindow - 1 == | 189 static_assert((kShellWindowId_PhantomWindow - 1 == |
| 184 kShellWindowId_OverlayContainer) && | 190 kShellWindowId_OverlayContainer) && |
| 185 (kShellWindowId_PhantomWindow + 1 == | 191 (kShellWindowId_PhantomWindow + 1 == |
| 186 kShellWindowId_MouseCursorContainer), | 192 kShellWindowId_MouseCursorContainer), |
| 187 "phanton between overlay and mouse-cursor"); | 193 "phanton between overlay and mouse-cursor"); |
| 188 | 194 |
| 189 } // namespace ash | 195 } // namespace ash |
| 190 | 196 |
| 191 #endif // ASH_SHELL_WINDOW_IDS_H_ | 197 #endif // ASH_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |