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 // Declarations of ids of special shell windows. | 8 // Declarations of ids of special shell windows. |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
(...skipping 18 matching lines...) Expand all Loading... |
29 // by PowerButtonController for animating lower-level containers. | 29 // by PowerButtonController for animating lower-level containers. |
30 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; | 30 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; |
31 | 31 |
32 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. | 32 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. |
33 // This container is not visible. | 33 // This container is not visible. |
34 const int kShellWindowId_UnparentedControlContainer = 3; | 34 const int kShellWindowId_UnparentedControlContainer = 3; |
35 | 35 |
36 // The desktop background window. | 36 // The desktop background window. |
37 const int kShellWindowId_DesktopBackgroundContainer = 4; | 37 const int kShellWindowId_DesktopBackgroundContainer = 4; |
38 | 38 |
39 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the | 39 // TODO(sky): rename kShellWindowId_DefaultContainer. |
40 // default. | |
41 | 40 |
42 // The container for standard top-level windows. | 41 // The container for standard top-level windows. |
43 // WARNING: when Workspace2 is enabled the only children of | 42 // WARNING: the only children of kShellWindowId_DefaultContainer are |
44 // kShellWindowId_DefaultContainer are kShellWindowId_WorkspaceContainer. | 43 // kShellWindowId_WorkspaceContainer. |
45 const int kShellWindowId_DefaultContainer = 5; | 44 const int kShellWindowId_DefaultContainer = 5; |
46 | 45 |
47 // Used by Worskpace2 for each workspace. Contains standard top-level windows. | 46 // Used by Worskpace2 for each workspace. Contains standard top-level windows. |
48 // WARNING: there may be more than one container with this id. | 47 // WARNING: there may be more than one container with this id. |
49 const int kShellWindowId_WorkspaceContainer = 6; | 48 const int kShellWindowId_WorkspaceContainer = 6; |
50 | 49 |
51 // The container for top-level windows with the 'always-on-top' flag set. | 50 // The container for top-level windows with the 'always-on-top' flag set. |
52 const int kShellWindowId_AlwaysOnTopContainer = 7; | 51 const int kShellWindowId_AlwaysOnTopContainer = 7; |
53 | 52 |
54 // The container for panel windows. | 53 // The container for panel windows. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 98 |
100 // The topmost container, used for power off animation. | 99 // The topmost container, used for power off animation. |
101 const int kShellWindowId_PowerButtonAnimationContainer = 22; | 100 const int kShellWindowId_PowerButtonAnimationContainer = 22; |
102 | 101 |
103 } // namespace internal | 102 } // namespace internal |
104 | 103 |
105 } // namespace ash | 104 } // namespace ash |
106 | 105 |
107 | 106 |
108 #endif // ASH_SHELL_WINDOW_IDS_H_ | 107 #endif // ASH_SHELL_WINDOW_IDS_H_ |
OLD | NEW |