Chromium Code Reviews| Index: mash/wm/public/interfaces/container.mojom |
| diff --git a/mash/wm/public/interfaces/container.mojom b/mash/wm/public/interfaces/container.mojom |
| index 9a42eeb4fe5b7f505a57678e3f51b04b8e2c0519..ec658a02f00b16f7a7d9c2280ed7e7bef69b43df 100644 |
| --- a/mash/wm/public/interfaces/container.mojom |
| +++ b/mash/wm/public/interfaces/container.mojom |
| @@ -5,19 +5,30 @@ |
| module mash.wm.mojom; |
| // Containers for windows. This list is in the z-order of the windows, however |
| -// they are actually built in a hierarchy (e.g. USER_WORKSPACE and LOGIN_WINDOWS |
| -// are siblings). See RootWindowController::CreateContainers() for the full |
| -// hierarchy. |
| +// they are actually built in a hierarchy (e.g. USER_CONTAINER and |
| +// LOGIN_CONTAINER are siblings). See RootWindowController::CreateContainers() |
| +// for the full hierarchy. |
| +// |
| +// NOTE: containers ending with '_CONTAINER' exist purely to hold other |
| +// Containers. Containers whose name starts with an earlier name are children. |
| +// For example, USER_BACKGROUND is a child of USER_CONTAINER and |
| +// USER_PRIVATE_WINDOWS is a child of USER_PRIVATE_CONTAINER. |
| enum Container { |
| - ROOT = 0, |
| + ROOT_CONTAINER = 0, |
| ALL_USER_BACKGROUND, |
| - USER_WORKSPACE, |
| + USER_CONTAINER, |
| USER_BACKGROUND, |
| - USER_PRIVATE, |
| - USER_WINDOWS, |
| - USER_ALWAYS_ON_TOP_WINDOWS, |
| - USER_PRESENTATION_WINDOWS, |
| - USER_SHELF, |
| + // Container that is hidden when screen is locked, child of USER_CONTAINER. |
| + USER_PRIVATE_CONTAINER, |
|
James Cook
2016/05/13 17:14:44
I think it would be just as clear to use a short n
sky
2016/05/13 19:14:06
Done.
|
| + USER_PRIVATE_WINDOWS, |
| + USER_PRIVATE_ALWAYS_ON_TOP_WINDOWS, |
| + USER_PRIVATE_DOCKED_WINDOWS, |
| + USER_PRIVATE_PRESENTATION_WINDOWS, |
| + USER_PRIVATE_SHELF, |
| + USER_PRIVATE_PANELS, |
| + USER_PRIVATE_APP_LIST, |
| + USER_PRIVATE_SYSTEM_MODAL, |
| + LOGIN_CONTAINER, |
|
James Cook
2016/05/13 17:14:44
optional: This file might be clearer with a blank
sky
2016/05/13 19:14:06
I couldn't come up with a sensical way to add whit
|
| LOGIN_WINDOWS, |
| LOGIN_APP, // TODO(beng): what about dialog boxes login opens? |
| LOGIN_SHELF, |
| @@ -29,7 +40,7 @@ enum Container { |
| SYSTEM_MODAL_WINDOWS, |
| KEYBOARD, |
| MENUS, |
| - TOOLTIPS, |
| + DRAG_AND_TOOLTIPS, |
| COUNT |
| }; |