| 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. | 22 // The container for top-level windows with the 'always-on-top' flag set. |
| 23 const int kShellWindowId_AlwaysOnTopContainer = 7; | 23 const int kShellWindowId_AlwaysOnTopContainer = 7; |
| 24 | 24 |
| 25 // The container for windows docked to either side of the desktop. | 25 // The container for windows docked to either side of the desktop. |
| 26 const int kShellWindowId_DockedContainer = 8; | 26 const int kShellWindowId_DockedContainer = 8; |
| 27 | 27 |
| 28 // The container for the shelf. |
| 29 const int kShellWindowId_ShelfContainer = 9; |
| 30 |
| 28 // The container for panel windows. | 31 // The container for panel windows. |
| 29 const int kShellWindowId_PanelContainer = 11; | 32 const int kShellWindowId_PanelContainer = 11; |
| 30 | 33 |
| 31 // TODO(sky): this seems unnecessary. Perhaps it should be injected? | 34 // TODO(sky): this seems unnecessary. Perhaps it should be injected? |
| 32 // The container for the app list. | 35 // The container for the app list. |
| 33 const int kShellWindowId_AppListContainer = 12; | 36 const int kShellWindowId_AppListContainer = 12; |
| 34 | 37 |
| 38 // ID of the window created by PhantomWindowController or DragWindowController. |
| 39 const int kShellWindowId_PhantomWindow = 23; |
| 40 |
| 35 } // namespace ash | 41 } // namespace ash |
| 36 | 42 |
| 37 #endif // ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ | 43 #endif // ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |