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 { |
11 | 11 |
12 // TODO: we're using this in random places outside of ash, it shouldn't be in | |
13 // internal. | |
14 namespace internal { | |
15 | |
16 // A higher-level container that holds all of the containers stacked below | 12 // A higher-level container that holds all of the containers stacked below |
17 // kShellWindowId_LockScreenContainer. Only used by PowerButtonController for | 13 // kShellWindowId_LockScreenContainer. Only used by PowerButtonController for |
18 // animating lower-level containers. | 14 // animating lower-level containers. |
19 const int kShellWindowId_NonLockScreenContainersContainer = 0; | 15 const int kShellWindowId_NonLockScreenContainersContainer = 0; |
20 | 16 |
21 // A higher-level container that holds containers that hold lock-screen | 17 // A higher-level container that holds containers that hold lock-screen |
22 // windows. Only used by PowerButtonController for animating lower-level | 18 // windows. Only used by PowerButtonController for animating lower-level |
23 // containers. | 19 // containers. |
24 const int kShellWindowId_LockScreenContainersContainer = 1; | 20 const int kShellWindowId_LockScreenContainersContainer = 1; |
25 | 21 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // ensure that the virtual keyboard is stacked above most containers but below | 99 // ensure that the virtual keyboard is stacked above most containers but below |
104 // the mouse cursor and the power off animation. | 100 // the mouse cursor and the power off animation. |
105 const int kShellWindowId_VirtualKeyboardParentContainer = 24; | 101 const int kShellWindowId_VirtualKeyboardParentContainer = 24; |
106 | 102 |
107 // The container for mouse cursor. | 103 // The container for mouse cursor. |
108 const int kShellWindowId_MouseCursorContainer = 25; | 104 const int kShellWindowId_MouseCursorContainer = 25; |
109 | 105 |
110 // The topmost container, used for power off animation. | 106 // The topmost container, used for power off animation. |
111 const int kShellWindowId_PowerButtonAnimationContainer = 26; | 107 const int kShellWindowId_PowerButtonAnimationContainer = 26; |
112 | 108 |
113 } // namespace internal | |
114 | |
115 } // namespace ash | 109 } // namespace ash |
116 | 110 |
117 | 111 |
118 #endif // ASH_SHELL_WINDOW_IDS_H_ | 112 #endif // ASH_SHELL_WINDOW_IDS_H_ |
OLD | NEW |