| 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 | 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 | 8 // they are actually built in a hierarchy (e.g. USER_WORKSPACE and LOGIN_WINDOWS |
| 9 // are siblings). See RootWindowController::CreateContainers() for the full | 9 // are siblings). See RootWindowController::CreateContainers() for the full |
| 10 // hierarchy. | 10 // hierarchy. |
| 11 enum Container { | 11 enum Container { |
| 12 ROOT = 0, | 12 ROOT = 0, |
| 13 ALL_USER_BACKGROUND, | 13 ALL_USER_BACKGROUND, |
| 14 USER_WORKSPACE, | 14 USER_WORKSPACE, |
| 15 USER_BACKGROUND, | 15 USER_BACKGROUND, |
| 16 USER_PRIVATE, | 16 USER_PRIVATE, |
| 17 USER_WINDOWS, | 17 USER_WINDOWS, |
| 18 USER_STICKY_WINDOWS, | 18 USER_ALWAYS_ON_TOP_WINDOWS, |
| 19 USER_PRESENTATION_WINDOWS, | 19 USER_PRESENTATION_WINDOWS, |
| 20 USER_SHELF, | 20 USER_SHELF, |
| 21 LOGIN_WINDOWS, | 21 LOGIN_WINDOWS, |
| 22 LOGIN_APP, // TODO(beng): what about dialog boxes login opens? | 22 LOGIN_APP, // TODO(beng): what about dialog boxes login opens? |
| 23 LOGIN_SHELF, | 23 LOGIN_SHELF, |
| 24 // Status area widget and message center notification popups. | 24 // Status area widget and message center notification popups. |
| 25 STATUS, | 25 STATUS, |
| 26 // Bubble windows, for example the sysui system tray bubble and the screen | 26 // Bubble windows, for example the sysui system tray bubble and the screen |
| 27 // brightness bubble. | 27 // brightness bubble. |
| 28 BUBBLES, | 28 BUBBLES, |
| 29 SYSTEM_MODAL_WINDOWS, | 29 SYSTEM_MODAL_WINDOWS, |
| 30 KEYBOARD, | 30 KEYBOARD, |
| 31 MENUS, | 31 MENUS, |
| 32 TOOLTIPS, | 32 TOOLTIPS, |
| 33 COUNT | 33 COUNT |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 const string kWindowContainer_Property = "ash:window-container"; | 36 const string kWindowContainer_Property = "ash:window-container"; |
| OLD | NEW |