Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(918)

Side by Side Diff: mash/wm/public/interfaces/container.mojom

Issue 1980593002: Changes container names and adds a couple of more (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change include Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mash/wm/property_util.cc ('k') | mash/wm/root_window_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 and LOGIN are siblings).
9 // are siblings). See RootWindowController::CreateContainers() for the full 9 // See RootWindowController::CreateContainers() for the full hierarchy.
10 // 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.
11 enum Container { 14 enum Container {
12 ROOT = 0, 15 ROOT = 0,
13 ALL_USER_BACKGROUND, 16 ALL_USER_BACKGROUND,
14 USER_WORKSPACE, 17 USER,
15 USER_BACKGROUND, 18 USER_BACKGROUND,
19 // Container that is hidden when screen is locked, child of USER.
16 USER_PRIVATE, 20 USER_PRIVATE,
17 USER_WINDOWS, 21 // Windows with no explicit container end up here.
18 USER_ALWAYS_ON_TOP_WINDOWS, 22 USER_PRIVATE_WINDOWS,
19 USER_PRESENTATION_WINDOWS, 23 USER_PRIVATE_ALWAYS_ON_TOP_WINDOWS,
20 USER_SHELF, 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,
21 LOGIN_WINDOWS, 31 LOGIN_WINDOWS,
22 LOGIN_APP, // TODO(beng): what about dialog boxes login opens? 32 LOGIN_APP, // TODO(beng): what about dialog boxes login opens?
23 LOGIN_SHELF, 33 LOGIN_SHELF,
24 // Status area widget and message center notification popups. 34 // Status area widget and message center notification popups.
25 STATUS, 35 STATUS,
26 // Bubble windows, for example the sysui system tray bubble and the screen 36 // Bubble windows, for example the sysui system tray bubble and the screen
27 // brightness bubble. 37 // brightness bubble.
28 BUBBLES, 38 BUBBLES,
29 SYSTEM_MODAL_WINDOWS, 39 SYSTEM_MODAL_WINDOWS,
30 KEYBOARD, 40 KEYBOARD,
31 MENUS, 41 MENUS,
32 TOOLTIPS, 42 DRAG_AND_TOOLTIPS,
33 COUNT 43 COUNT
34 }; 44 };
35 45
36 const string kWindowContainer_Property = "ash:window-container"; 46 const string kWindowContainer_Property = "ash:window-container";
OLDNEW
« no previous file with comments | « mash/wm/property_util.cc ('k') | mash/wm/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698