OLD | NEW |
| (Empty) |
1 // Copyright 2016 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. | |
4 | |
5 #ifndef ASH_COMMON_WM_WM_SHELL_WINDOW_IDS_H_ | |
6 #define ASH_COMMON_WM_WM_SHELL_WINDOW_IDS_H_ | |
7 | |
8 // Defines the ids assigned to known containers. The id for a WmWindow is | |
9 // accessed via GetShellWindowId(). | |
10 | |
11 // TODO(sky): move this into wm namespace. | |
12 namespace ash { | |
13 | |
14 // NOTE: while the value of these is not necessarily important, the ordering | |
15 // is and is enforced in ash/shell_window_ids.h. | |
16 | |
17 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. | |
18 // This container is not visible. | |
19 const int kShellWindowId_UnparentedControlContainer = 3; | |
20 | |
21 // The container for standard top-level windows. | |
22 const int kShellWindowId_DefaultContainer = 6; | |
23 | |
24 // The container for top-level windows with the 'always-on-top' flag set. | |
25 const int kShellWindowId_AlwaysOnTopContainer = 7; | |
26 | |
27 // The container for windows docked to either side of the desktop. | |
28 const int kShellWindowId_DockedContainer = 8; | |
29 | |
30 // The container for the shelf. | |
31 const int kShellWindowId_ShelfContainer = 9; | |
32 | |
33 // The container for panel windows. | |
34 const int kShellWindowId_PanelContainer = 11; | |
35 | |
36 // TODO(sky): this seems unnecessary. Perhaps it should be injected? | |
37 // The container for the app list. | |
38 const int kShellWindowId_AppListContainer = 12; | |
39 | |
40 // The container for user-specific modal windows. | |
41 const int kShellWindowId_SystemModalContainer = 13; | |
42 | |
43 // The container for the lock screen. | |
44 const int kShellWindowId_LockScreenContainer = 15; | |
45 | |
46 // The container for the lock screen modal windows. | |
47 const int kShellWindowId_LockSystemModalContainer = 16; | |
48 | |
49 // The container for menus. | |
50 const int kShellWindowId_MenuContainer = 19; | |
51 | |
52 // The container for drag/drop images and tooltips. | |
53 const int kShellWindowId_DragImageAndTooltipContainer = 20; | |
54 | |
55 // The container for special components overlaid onscreen, such as the | |
56 // region selector for partial screenshots. | |
57 const int kShellWindowId_OverlayContainer = 22; | |
58 | |
59 // ID of the window created by PhantomWindowController or DragWindowController. | |
60 const int kShellWindowId_PhantomWindow = 23; | |
61 | |
62 } // namespace ash | |
63 | |
64 #endif // ASH_COMMON_WM_WM_SHELL_WINDOW_IDS_H_ | |
OLD | NEW |