| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef ASH_SHELL_WINDOW_IDS_H_ | 5 #ifndef ASH_SHELL_WINDOW_IDS_H_ |
| 6 #define ASH_SHELL_WINDOW_IDS_H_ | 6 #define ASH_SHELL_WINDOW_IDS_H_ |
| 7 | 7 |
| 8 // Declarations of ids of special shell windows. | 8 // Declarations of ids of special shell windows. |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 // A higher-level container that holds containers that hold lock-screen-related | 24 // A higher-level container that holds containers that hold lock-screen-related |
| 25 // windows (which we want to display while the screen is locked; effectively | 25 // windows (which we want to display while the screen is locked; effectively |
| 26 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used | 26 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used |
| 27 // by PowerButtonController for animating lower-level containers. | 27 // by PowerButtonController for animating lower-level containers. |
| 28 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; | 28 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; |
| 29 | 29 |
| 30 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. | 30 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. |
| 31 // This container is not visible. | 31 // This container is not visible. |
| 32 const int kShellWindowId_UnparentedControlContainer = 3; | 32 const int kShellWindowId_UnparentedControlContainer = 3; |
| 33 | 33 |
| 34 // System level background. Sits beneach the desktop background and is only |
| 35 // visible when in a workspace other than the desktop. |
| 36 const int kShellWindowId_SystemBackgroundContainer = 4; |
| 37 |
| 34 // The desktop background window. | 38 // The desktop background window. |
| 35 const int kShellWindowId_DesktopBackgroundContainer = 4; | 39 const int kShellWindowId_DesktopBackgroundContainer = 5; |
| 36 | 40 |
| 37 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the | 41 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the |
| 38 // default. | 42 // default. |
| 39 | 43 |
| 40 // The container for standard top-level windows. | 44 // The container for standard top-level windows. |
| 41 // WARNING: when Workspace2 is enabled the only children of | 45 // WARNING: when Workspace2 is enabled the only children of |
| 42 // kShellWindowId_DefaultContainer are kShellWindowId_WorkspaceContainer. | 46 // kShellWindowId_DefaultContainer are kShellWindowId_WorkspaceContainer. |
| 43 const int kShellWindowId_DefaultContainer = 5; | 47 const int kShellWindowId_DefaultContainer = 6; |
| 44 | 48 |
| 45 // Used by Worskpace2 for each workspace. Contains standard top-level windows. | 49 // Used by Worskpace2 for each workspace. Contains standard top-level windows. |
| 46 // WARNING: there may be more than one container with this id. | 50 // WARNING: there may be more than one container with this id. |
| 47 const int kShellWindowId_WorkspaceContainer = 6; | 51 const int kShellWindowId_WorkspaceContainer = 7; |
| 48 | 52 |
| 49 // The container for top-level windows with the 'always-on-top' flag set. | 53 // The container for top-level windows with the 'always-on-top' flag set. |
| 50 const int kShellWindowId_AlwaysOnTopContainer = 7; | 54 const int kShellWindowId_AlwaysOnTopContainer = 8; |
| 51 | 55 |
| 52 // The container for panel windows. | 56 // The container for panel windows. |
| 53 const int kShellWindowId_PanelContainer = 8; | 57 const int kShellWindowId_PanelContainer = 9; |
| 54 | 58 |
| 55 // The container for the launcher. | 59 // The container for the launcher. |
| 56 const int kShellWindowId_LauncherContainer = 9; | 60 const int kShellWindowId_LauncherContainer = 10; |
| 57 | 61 |
| 58 // The container for the app list. | 62 // The container for the app list. |
| 59 const int kShellWindowId_AppListContainer = 10; | 63 const int kShellWindowId_AppListContainer = 11; |
| 60 | 64 |
| 61 // The container for user-specific modal windows. | 65 // The container for user-specific modal windows. |
| 62 const int kShellWindowId_SystemModalContainer = 11; | 66 const int kShellWindowId_SystemModalContainer = 12; |
| 63 | 67 |
| 64 // The container for input method components such like candidate windows. They | 68 // The container for input method components such like candidate windows. They |
| 65 // are almost panels but have no activations/focus, and they should appear over | 69 // are almost panels but have no activations/focus, and they should appear over |
| 66 // the AppList and SystemModal dialogs. | 70 // the AppList and SystemModal dialogs. |
| 67 const int kShellWindowId_InputMethodContainer = 12; | 71 const int kShellWindowId_InputMethodContainer = 13; |
| 68 | 72 |
| 69 // The container for the lock screen background. | 73 // The container for the lock screen background. |
| 70 const int kShellWindowId_LockScreenBackgroundContainer = 13; | 74 const int kShellWindowId_LockScreenBackgroundContainer = 14; |
| 71 | 75 |
| 72 // The container for the lock screen. | 76 // The container for the lock screen. |
| 73 const int kShellWindowId_LockScreenContainer = 14; | 77 const int kShellWindowId_LockScreenContainer = 15; |
| 74 | 78 |
| 75 // The container for the lock screen modal windows. | 79 // The container for the lock screen modal windows. |
| 76 const int kShellWindowId_LockSystemModalContainer = 15; | 80 const int kShellWindowId_LockSystemModalContainer = 16; |
| 77 | 81 |
| 78 // The container for the status area. | 82 // The container for the status area. |
| 79 const int kShellWindowId_StatusContainer = 16; | 83 const int kShellWindowId_StatusContainer = 17; |
| 80 | 84 |
| 81 // The container for menus. | 85 // The container for menus. |
| 82 const int kShellWindowId_MenuContainer = 17; | 86 const int kShellWindowId_MenuContainer = 18; |
| 83 | 87 |
| 84 // The container for drag/drop images and tooltips. | 88 // The container for drag/drop images and tooltips. |
| 85 const int kShellWindowId_DragImageAndTooltipContainer = 18; | 89 const int kShellWindowId_DragImageAndTooltipContainer = 19; |
| 86 | 90 |
| 87 // The container for bubbles briefly overlaid onscreen to show settings changes | 91 // The container for bubbles briefly overlaid onscreen to show settings changes |
| 88 // (volume, brightness, etc.). | 92 // (volume, brightness, etc.). |
| 89 const int kShellWindowId_SettingBubbleContainer = 19; | 93 const int kShellWindowId_SettingBubbleContainer = 20; |
| 90 | 94 |
| 91 // The container for special components overlaid onscreen, such as the | 95 // The container for special components overlaid onscreen, such as the |
| 92 // region selector for partial screenshots. | 96 // region selector for partial screenshots. |
| 93 const int kShellWindowId_OverlayContainer = 20; | 97 const int kShellWindowId_OverlayContainer = 21; |
| 94 | 98 |
| 95 } // namespace internal | 99 } // namespace internal |
| 96 | 100 |
| 97 } // namespace ash | 101 } // namespace ash |
| 98 | 102 |
| 99 | 103 |
| 100 #endif // ASH_SHELL_WINDOW_IDS_H_ | 104 #endif // ASH_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |