| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module mash.wm.mojom; | |
| 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 and LOGIN are siblings). | |
| 9 // See RootWindowController::CreateContainers() for the full hierarchy. | |
| 10 // | |
| 11 // NOTE: containers whose name starts with an earlier name are children. | |
| 12 // For example, USER_BACKGROUND is a child of USER and USER_PRIVATE_WINDOWS is a | |
| 13 // child of USER_PRIVATE. | |
| 14 enum Container { | |
| 15 ROOT = 0, | |
| 16 ALL_USER_BACKGROUND, | |
| 17 USER, | |
| 18 USER_BACKGROUND, | |
| 19 // Container that is hidden when screen is locked, child of USER. | |
| 20 USER_PRIVATE, | |
| 21 // Windows with no explicit container end up here. | |
| 22 USER_PRIVATE_WINDOWS, | |
| 23 USER_PRIVATE_ALWAYS_ON_TOP_WINDOWS, | |
| 24 USER_PRIVATE_DOCKED_WINDOWS, | |
| 25 USER_PRIVATE_PRESENTATION_WINDOWS, | |
| 26 USER_PRIVATE_SHELF, | |
| 27 USER_PRIVATE_PANELS, | |
| 28 USER_PRIVATE_APP_LIST, | |
| 29 USER_PRIVATE_SYSTEM_MODAL, | |
| 30 LOGIN, | |
| 31 LOGIN_WINDOWS, | |
| 32 LOGIN_APP, // TODO(beng): what about dialog boxes login opens? | |
| 33 LOGIN_SHELF, | |
| 34 // Status area widget and message center notification popups. | |
| 35 STATUS, | |
| 36 // Bubble windows, for example the sysui system tray bubble and the screen | |
| 37 // brightness bubble. | |
| 38 BUBBLES, | |
| 39 SYSTEM_MODAL_WINDOWS, | |
| 40 KEYBOARD, | |
| 41 MENUS, | |
| 42 DRAG_AND_TOOLTIPS, | |
| 43 COUNT | |
| 44 }; | |
| 45 | |
| 46 const string kWindowContainer_Property = "ash:window-container"; | |
| OLD | NEW |