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 16 matching lines...) Expand all Loading... |
27 // windows (which we want to display while the screen is locked; effectively | 27 // windows (which we want to display while the screen is locked; effectively |
28 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used | 28 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used |
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 // System level background. Sits beneach the desktop background and is only | 36 // System level background. Sits beneach the desktop background and is only |
37 // visible when in a workspace other than the desktop. When switching from the | 37 // visible when the desktop background has not yet been loaded or a workspace |
38 // desktop workspace to to another workspace the desktop background scales | 38 // other than the desktop is being displayed. When switching from the desktop |
39 // slightly. This exposes the system level background beneath it. | 39 // workspace to to another workspace the desktop background scales slightly. |
| 40 // This exposes the system level background beneath it. |
40 const int kShellWindowId_SystemBackgroundContainer = 4; | 41 const int kShellWindowId_SystemBackgroundContainer = 4; |
41 | 42 |
42 // The desktop background window. | 43 // The desktop background window. |
43 const int kShellWindowId_DesktopBackgroundContainer = 5; | 44 const int kShellWindowId_DesktopBackgroundContainer = 5; |
44 | 45 |
45 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the | 46 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the |
46 // default. | 47 // default. |
47 | 48 |
48 // The container for standard top-level windows. | 49 // The container for standard top-level windows. |
49 // WARNING: when Workspace2 is enabled the only children of | 50 // WARNING: when Workspace2 is enabled the only children of |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 103 |
103 // ID of the window created by PhantomWindowController. | 104 // ID of the window created by PhantomWindowController. |
104 const int kShellWindowId_PhantomWindow = 22; | 105 const int kShellWindowId_PhantomWindow = 22; |
105 | 106 |
106 } // namespace internal | 107 } // namespace internal |
107 | 108 |
108 } // namespace ash | 109 } // namespace ash |
109 | 110 |
110 | 111 |
111 #endif // ASH_SHELL_WINDOW_IDS_H_ | 112 #endif // ASH_SHELL_WINDOW_IDS_H_ |
OLD | NEW |