OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ | 5 #ifndef ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ |
6 #define ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ | 6 #define ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 // Defines the ids assigned to known containers. The id for a WmWindow is | 10 // Defines the ids assigned to known containers. The id for a WmWindow is |
11 // accessed via GetShellWindowId(). | 11 // accessed via GetShellWindowId(). |
12 | 12 |
13 // TODO(sky): move this into wm namespace. | 13 // TODO(sky): move this into wm namespace. |
14 namespace ash { | 14 namespace ash { |
15 | 15 |
16 // NOTE: while the value of these is not necessarily important, the ordering | 16 // NOTE: while the value of these is not necessarily important, the ordering |
17 // is and is enforced in ash/shell_window_ids.h. | 17 // is and is enforced in ash/shell_window_ids.h. |
18 | 18 |
19 // The container for standard top-level windows. | 19 // The container for standard top-level windows. |
20 const int kShellWindowId_DefaultContainer = 6; | 20 const int kShellWindowId_DefaultContainer = 6; |
21 | 21 |
| 22 // The container for top-level windows with the 'always-on-top' flag set. |
| 23 const int kShellWindowId_AlwaysOnTopContainer = 7; |
| 24 |
22 // The container for windows docked to either side of the desktop. | 25 // The container for windows docked to either side of the desktop. |
23 const int kShellWindowId_DockedContainer = 8; | 26 const int kShellWindowId_DockedContainer = 8; |
24 | 27 |
25 // The container for panel windows. | 28 // The container for panel windows. |
26 const int kShellWindowId_PanelContainer = 11; | 29 const int kShellWindowId_PanelContainer = 11; |
27 | 30 |
| 31 // TODO(sky): this seems unnecessary. Perhaps it should be injected? |
| 32 // The container for the app list. |
| 33 const int kShellWindowId_AppListContainer = 12; |
| 34 |
28 } // namespace ash | 35 } // namespace ash |
29 | 36 |
30 #endif // ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ | 37 #endif // ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ |
OLD | NEW |