blob: a64858fccb52377f021e4922a451f062f3d88c49 [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]db6b5172011-12-27 21:42:1953// The container for panel windows.
[email protected]e6e41d2f2012-10-29 19:22:1954const int kShellWindowId_PanelContainer = 8;
[email protected]db6b5172011-12-27 21:42:1955
[email protected]478c6c32013-03-09 02:50:5856// The container for the shelf.
57const int kShellWindowId_ShelfContainer = 9;
[email protected]22cba5b2011-09-30 17:09:2158
[email protected]c066b8d2012-03-26 00:23:1659// The container for the app list.
[email protected]e6e41d2f2012-10-29 19:22:1960const int kShellWindowId_AppListContainer = 10;
[email protected]c066b8d2012-03-26 00:23:1661
[email protected]e29014c2011-11-16 18:25:5162// The container for user-specific modal windows.
[email protected]e6e41d2f2012-10-29 19:22:1963const int kShellWindowId_SystemModalContainer = 11;
[email protected]e29014c2011-11-16 18:25:5164
[email protected]f471accc2012-06-26 16:04:4065// The container for input method components such like candidate windows. They
66// are almost panels but have no activations/focus, and they should appear over
67// the AppList and SystemModal dialogs.
[email protected]e6e41d2f2012-10-29 19:22:1968const int kShellWindowId_InputMethodContainer = 12;
[email protected]f471accc2012-06-26 16:04:4069
[email protected]b4ddc7a2012-08-07 04:17:3270// The container for the lock screen background.
[email protected]e6e41d2f2012-10-29 19:22:1971const int kShellWindowId_LockScreenBackgroundContainer = 13;
[email protected]b4ddc7a2012-08-07 04:17:3272
[email protected]22cba5b2011-09-30 17:09:2173// The container for the lock screen.
[email protected]e6e41d2f2012-10-29 19:22:1974const int kShellWindowId_LockScreenContainer = 14;
[email protected]22cba5b2011-09-30 17:09:2175
[email protected]55bdb502011-11-29 20:26:2576// The container for the lock screen modal windows.
[email protected]e6e41d2f2012-10-29 19:22:1977const int kShellWindowId_LockSystemModalContainer = 15;
[email protected]55bdb502011-11-29 20:26:2578
[email protected]22cba5b2011-09-30 17:09:2179// The container for the status area.
[email protected]e6e41d2f2012-10-29 19:22:1980const int kShellWindowId_StatusContainer = 16;
[email protected]22cba5b2011-09-30 17:09:2181
[email protected]9dea0a22012-02-02 20:00:4382// The container for menus.
[email protected]e6e41d2f2012-10-29 19:22:1983const int kShellWindowId_MenuContainer = 17;
[email protected]9dea0a22012-02-02 20:00:4384
85// The container for drag/drop images and tooltips.
[email protected]e6e41d2f2012-10-29 19:22:1986const int kShellWindowId_DragImageAndTooltipContainer = 18;
[email protected]cec568d6f2012-01-07 00:49:2687
88// The container for bubbles briefly overlaid onscreen to show settings changes
89// (volume, brightness, etc.).
[email protected]e6e41d2f2012-10-29 19:22:1990const int kShellWindowId_SettingBubbleContainer = 19;
[email protected]87b0d82e2011-10-07 21:02:5991
[email protected]0b0b0742012-02-16 13:23:4592// The container for special components overlaid onscreen, such as the
93// region selector for partial screenshots.
[email protected]e6e41d2f2012-10-29 19:22:1994const int kShellWindowId_OverlayContainer = 20;
[email protected]0b0b0742012-02-16 13:23:4595
[email protected]c38f9412012-12-04 21:18:2196// ID of the window created by PhantomWindowController or DragWindowController.
[email protected]e6e41d2f2012-10-29 19:22:1997const int kShellWindowId_PhantomWindow = 21;
[email protected]e65507c82012-09-04 22:41:5298
[email protected]a07615f2012-10-24 08:23:0899// The topmost container, used for power off animation.
[email protected]e6e41d2f2012-10-29 19:22:19100const int kShellWindowId_PowerButtonAnimationContainer = 22;
[email protected]a07615f2012-10-24 08:23:08101
[email protected]22cba5b2011-09-30 17:09:21102} // namespace internal
103
[email protected]55f593352011-12-24 05:42:46104} // namespace ash
[email protected]22cba5b2011-09-30 17:09:21105
106
[email protected]b65bdda2011-12-23 23:35:31107#endif // ASH_SHELL_WINDOW_IDS_H_