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. The containers are built in a tree; they are not just | |
8 // stacked in this order. See RootWindowController::CreateContainers() for the | |
sky
2016/04/07 17:55:10
I think it would be easier to see if the list is o
James Cook
2016/04/07 20:43:43
Actually, the list is in z-order, but I thought it
| |
9 // hierarchy. | |
7 enum Container { | 10 enum Container { |
8 ROOT = 0, | 11 ROOT = 0, |
9 ALL_USER_BACKGROUND, | 12 ALL_USER_BACKGROUND, |
10 USER_WORKSPACE, | 13 USER_WORKSPACE, |
11 USER_BACKGROUND, | 14 USER_BACKGROUND, |
12 USER_PRIVATE, | 15 USER_PRIVATE, |
13 USER_WINDOWS, | 16 USER_WINDOWS, |
14 USER_STICKY_WINDOWS, | 17 USER_STICKY_WINDOWS, |
15 USER_PRESENTATION_WINDOWS, | 18 USER_PRESENTATION_WINDOWS, |
16 USER_SHELF, | 19 USER_SHELF, |
17 LOGIN_WINDOWS, | 20 LOGIN_WINDOWS, |
18 LOGIN_APP, // TODO(beng): what about dialog boxes login opens? | 21 LOGIN_APP, // TODO(beng): what about dialog boxes login opens? |
19 LOGIN_SHELF, | 22 LOGIN_SHELF, |
23 // Bubble windows, for example the sysui system tray bubble and the screen | |
24 // brightness bubble. | |
25 BUBBLES, | |
20 SYSTEM_MODAL_WINDOWS, | 26 SYSTEM_MODAL_WINDOWS, |
21 KEYBOARD, | 27 KEYBOARD, |
22 MENUS, | 28 MENUS, |
23 TOOLTIPS, | 29 TOOLTIPS, |
24 COUNT | 30 COUNT |
25 }; | 31 }; |
26 | 32 |
27 const string kWindowContainer_Property = "ash:window-container"; | 33 const string kWindowContainer_Property = "ash:window-container"; |
OLD | NEW |