blob: 046f43ada328fa9d1f081fcc2eab89caeb8a98af [file] [log] [blame]
[email protected]cec568d6f2012-01-07 00:49:261// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]22cba5b2011-09-30 17:09:212// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]b65bdda2011-12-23 23:35:315#ifndef ASH_SHELL_WINDOW_IDS_H_
6#define ASH_SHELL_WINDOW_IDS_H_
[email protected]22cba5b2011-09-30 17:09:217
8// Declarations of ids of special shell windows.
9
[email protected]55f593352011-12-24 05:42:4610namespace ash {
[email protected]22cba5b2011-09-30 17:09:2111
[email protected]e65507c82012-09-04 22:41:5212// TODO: we're using this in random places outside of ash, it shouldn't be in
13// internal.
[email protected]22cba5b2011-09-30 17:09:2114namespace internal {
15
[email protected]f52a07292012-02-23 19:06:1416// A higher-level container that holds all of the containers stacked below
17// kShellWindowId_LockScreenContainer. Only used by PowerButtonController for
18// animating lower-level containers.
19const int kShellWindowId_NonLockScreenContainersContainer = 0;
20
21// A higher-level container that holds containers that hold lock-screen
22// windows. Only used by PowerButtonController for animating lower-level
23// containers.
24const int kShellWindowId_LockScreenContainersContainer = 1;
25
26// A higher-level container that holds containers that hold lock-screen-related
27// windows (which we want to display while the screen is locked; effectively
28// containers stacked above kShellWindowId_LockSystemModalContainer). Only used
29// by PowerButtonController for animating lower-level containers.
30const int kShellWindowId_LockScreenRelatedContainersContainer = 2;
31
[email protected]392cb7b2012-01-20 23:08:5832// A container used for windows of WINDOW_TYPE_CONTROL that have no parent.
33// This container is not visible.
[email protected]f52a07292012-02-23 19:06:1434const int kShellWindowId_UnparentedControlContainer = 3;
[email protected]392cb7b2012-01-20 23:08:5835
[email protected]22cba5b2011-09-30 17:09:2136// The desktop background window.
[email protected]e6e41d2f2012-10-29 19:22:1937const int kShellWindowId_DesktopBackgroundContainer = 4;
[email protected]22cba5b2011-09-30 17:09:2138
[email protected]ef0e32cc2012-10-31 20:57:3339// TODO(sky): rename kShellWindowId_DefaultContainer.
[email protected]95058572012-08-20 14:57:2940
[email protected]22cba5b2011-09-30 17:09:2141// The container for standard top-level windows.
[email protected]ef0e32cc2012-10-31 20:57:3342// WARNING: the only children of kShellWindowId_DefaultContainer are
43// kShellWindowId_WorkspaceContainer.
[email protected]e6e41d2f2012-10-29 19:22:1944const int kShellWindowId_DefaultContainer = 5;
[email protected]22cba5b2011-09-30 17:09:2145
[email protected]95058572012-08-20 14:57:2946// Used by Worskpace2 for each workspace. Contains standard top-level windows.
47// WARNING: there may be more than one container with this id.
[email protected]e6e41d2f2012-10-29 19:22:1948const int kShellWindowId_WorkspaceContainer = 6;
[email protected]95058572012-08-20 14:57:2949
[email protected]22cba5b2011-09-30 17:09:2150// The container for top-level windows with the 'always-on-top' flag set.
[email protected]e6e41d2f2012-10-29 19:22:1951const int kShellWindowId_AlwaysOnTopContainer = 7;
[email protected]22cba5b2011-09-30 17:09:2152
[email protected]beb4e5c2013-06-18 15:37:0753// The container for windows docked to either side of the desktop.
54const int kShellWindowId_DockedContainer = 8;
55
[email protected]db6b5172011-12-27 21:42:1956// The container for panel windows.
[email protected]beb4e5c2013-06-18 15:37:0757const int kShellWindowId_PanelContainer = 9;
[email protected]db6b5172011-12-27 21:42:1958
[email protected]478c6c32013-03-09 02:50:5859// The container for the shelf.
[email protected]beb4e5c2013-06-18 15:37:0760const int kShellWindowId_ShelfContainer = 10;
[email protected]22cba5b2011-09-30 17:09:2161
[email protected]c066b8d2012-03-26 00:23:1662// The container for the app list.
[email protected]beb4e5c2013-06-18 15:37:0763const int kShellWindowId_AppListContainer = 11;
[email protected]c066b8d2012-03-26 00:23:1664
[email protected]e29014c2011-11-16 18:25:5165// The container for user-specific modal windows.
[email protected]beb4e5c2013-06-18 15:37:0766const int kShellWindowId_SystemModalContainer = 12;
[email protected]e29014c2011-11-16 18:25:5167
[email protected]f471accc2012-06-26 16:04:4068// The container for input method components such like candidate windows. They
69// are almost panels but have no activations/focus, and they should appear over
70// the AppList and SystemModal dialogs.
[email protected]beb4e5c2013-06-18 15:37:0771const int kShellWindowId_InputMethodContainer = 13;
[email protected]f471accc2012-06-26 16:04:4072
[email protected]b4ddc7a2012-08-07 04:17:3273// The container for the lock screen background.
[email protected]beb4e5c2013-06-18 15:37:0774const int kShellWindowId_LockScreenBackgroundContainer = 14;
[email protected]b4ddc7a2012-08-07 04:17:3275
[email protected]22cba5b2011-09-30 17:09:2176// The container for the lock screen.
[email protected]beb4e5c2013-06-18 15:37:0777const int kShellWindowId_LockScreenContainer = 15;
[email protected]22cba5b2011-09-30 17:09:2178
[email protected]55bdb502011-11-29 20:26:2579// The container for the lock screen modal windows.
[email protected]beb4e5c2013-06-18 15:37:0780const int kShellWindowId_LockSystemModalContainer = 16;
[email protected]55bdb502011-11-29 20:26:2581
[email protected]22cba5b2011-09-30 17:09:2182// The container for the status area.
[email protected]beb4e5c2013-06-18 15:37:0783const int kShellWindowId_StatusContainer = 17;
[email protected]22cba5b2011-09-30 17:09:2184
[email protected]9dea0a22012-02-02 20:00:4385// The container for menus.
[email protected]beb4e5c2013-06-18 15:37:0786const int kShellWindowId_MenuContainer = 18;
[email protected]9dea0a22012-02-02 20:00:4387
88// The container for drag/drop images and tooltips.
[email protected]beb4e5c2013-06-18 15:37:0789const int kShellWindowId_DragImageAndTooltipContainer = 19;
[email protected]cec568d6f2012-01-07 00:49:2690
91// The container for bubbles briefly overlaid onscreen to show settings changes
92// (volume, brightness, etc.).
[email protected]beb4e5c2013-06-18 15:37:0793const int kShellWindowId_SettingBubbleContainer = 20;
[email protected]87b0d82e2011-10-07 21:02:5994
[email protected]0b0b0742012-02-16 13:23:4595// The container for special components overlaid onscreen, such as the
96// region selector for partial screenshots.
[email protected]beb4e5c2013-06-18 15:37:0797const int kShellWindowId_OverlayContainer = 21;
[email protected]0b0b0742012-02-16 13:23:4598
[email protected]c38f9412012-12-04 21:18:2199// ID of the window created by PhantomWindowController or DragWindowController.
[email protected]beb4e5c2013-06-18 15:37:07100const int kShellWindowId_PhantomWindow = 22;
[email protected]e65507c82012-09-04 22:41:52101
[email protected]a07615f2012-10-24 08:23:08102// The topmost container, used for power off animation.
[email protected]beb4e5c2013-06-18 15:37:07103const int kShellWindowId_PowerButtonAnimationContainer = 23;
[email protected]a07615f2012-10-24 08:23:08104
[email protected]22cba5b2011-09-30 17:09:21105} // namespace internal
106
[email protected]55f593352011-12-24 05:42:46107} // namespace ash
[email protected]22cba5b2011-09-30 17:09:21108
109
[email protected]b65bdda2011-12-23 23:35:31110#endif // ASH_SHELL_WINDOW_IDS_H_