OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 module mash.wm.mojom; | 5 module mash.wm.mojom; |
6 | 6 |
| 7 // Containers for windows. This list is in the z-order of the windows, however |
| 8 // they are actually built in a hierarchy (e.g. USER_WORKSPACE and LOGIN_WINDOWS |
| 9 // are siblings). See RootWindowController::CreateContainers() for the full |
| 10 // hierarchy. |
7 enum Container { | 11 enum Container { |
8 ROOT = 0, | 12 ROOT = 0, |
9 ALL_USER_BACKGROUND, | 13 ALL_USER_BACKGROUND, |
10 USER_WORKSPACE, | 14 USER_WORKSPACE, |
11 USER_BACKGROUND, | 15 USER_BACKGROUND, |
12 USER_PRIVATE, | 16 USER_PRIVATE, |
13 USER_WINDOWS, | 17 USER_WINDOWS, |
14 USER_STICKY_WINDOWS, | 18 USER_STICKY_WINDOWS, |
15 USER_PRESENTATION_WINDOWS, | 19 USER_PRESENTATION_WINDOWS, |
16 USER_SHELF, | 20 USER_SHELF, |
17 LOGIN_WINDOWS, | 21 LOGIN_WINDOWS, |
18 LOGIN_APP, // TODO(beng): what about dialog boxes login opens? | 22 LOGIN_APP, // TODO(beng): what about dialog boxes login opens? |
19 LOGIN_SHELF, | 23 LOGIN_SHELF, |
| 24 // Bubble windows, for example the sysui system tray bubble and the screen |
| 25 // brightness bubble. |
| 26 BUBBLES, |
20 SYSTEM_MODAL_WINDOWS, | 27 SYSTEM_MODAL_WINDOWS, |
21 KEYBOARD, | 28 KEYBOARD, |
22 MENUS, | 29 MENUS, |
23 TOOLTIPS, | 30 TOOLTIPS, |
24 COUNT | 31 COUNT |
25 }; | 32 }; |
26 | 33 |
27 const string kWindowContainer_Property = "ash:window-container"; | 34 const string kWindowContainer_Property = "ash:window-container"; |
OLD | NEW |