| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // Declarations of ids of special shell windows. | 9 // Declarations of ids of special shell windows. |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 | 12 |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 // A higher-level container that holds all of the containers stacked below |
| 16 // kShellWindowId_LockScreenContainer. Only used by PowerButtonController for |
| 17 // animating lower-level containers. |
| 18 const int kShellWindowId_NonLockScreenContainersContainer = 0; |
| 19 |
| 20 // A higher-level container that holds containers that hold lock-screen |
| 21 // windows. Only used by PowerButtonController for animating lower-level |
| 22 // containers. |
| 23 const int kShellWindowId_LockScreenContainersContainer = 1; |
| 24 |
| 25 // A higher-level container that holds containers that hold lock-screen-related |
| 26 // windows (which we want to display while the screen is locked; effectively |
| 27 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used |
| 28 // by PowerButtonController for animating lower-level containers. |
| 29 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; |
| 30 |
| 15 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. | 31 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. |
| 16 // This container is not visible. | 32 // This container is not visible. |
| 17 const int kShellWindowId_UnparentedControlContainer = 0; | 33 const int kShellWindowId_UnparentedControlContainer = 3; |
| 18 | 34 |
| 19 // The desktop background window. | 35 // The desktop background window. |
| 20 const int kShellWindowId_DesktopBackgroundContainer = 1; | 36 const int kShellWindowId_DesktopBackgroundContainer = 4; |
| 21 | 37 |
| 22 // The container for standard top-level windows. | 38 // The container for standard top-level windows. |
| 23 const int kShellWindowId_DefaultContainer = 2; | 39 const int kShellWindowId_DefaultContainer = 5; |
| 24 | 40 |
| 25 // The container for top-level windows with the 'always-on-top' flag set. | 41 // The container for top-level windows with the 'always-on-top' flag set. |
| 26 const int kShellWindowId_AlwaysOnTopContainer = 3; | 42 const int kShellWindowId_AlwaysOnTopContainer = 6; |
| 27 | 43 |
| 28 // The container for panel windows. | 44 // The container for panel windows. |
| 29 const int kShellWindowId_PanelContainer = 4; | 45 const int kShellWindowId_PanelContainer = 7; |
| 30 | 46 |
| 31 // The container for the launcher. | 47 // The container for the launcher. |
| 32 const int kShellWindowId_LauncherContainer = 5; | 48 const int kShellWindowId_LauncherContainer = 8; |
| 33 | 49 |
| 34 // The container for user-specific modal windows. | 50 // The container for user-specific modal windows. |
| 35 const int kShellWindowId_SystemModalContainer = 6; | 51 const int kShellWindowId_SystemModalContainer = 9; |
| 36 | 52 |
| 37 // The container for the lock screen. | 53 // The container for the lock screen. |
| 38 const int kShellWindowId_LockScreenContainer = 7; | 54 const int kShellWindowId_LockScreenContainer = 10; |
| 39 | 55 |
| 40 // The container for the lock screen modal windows. | 56 // The container for the lock screen modal windows. |
| 41 const int kShellWindowId_LockSystemModalContainer = 8; | 57 const int kShellWindowId_LockSystemModalContainer = 11; |
| 42 | 58 |
| 43 // The container for the status area. | 59 // The container for the status area. |
| 44 const int kShellWindowId_StatusContainer = 9; | 60 const int kShellWindowId_StatusContainer = 12; |
| 45 | 61 |
| 46 // The container for menus. | 62 // The container for menus. |
| 47 const int kShellWindowId_MenuContainer = 10; | 63 const int kShellWindowId_MenuContainer = 13; |
| 48 | 64 |
| 49 // The container for drag/drop images and tooltips. | 65 // The container for drag/drop images and tooltips. |
| 50 const int kShellWindowId_DragImageAndTooltipContainer = 11; | 66 const int kShellWindowId_DragImageAndTooltipContainer = 14; |
| 51 | 67 |
| 52 // The container for bubbles briefly overlaid onscreen to show settings changes | 68 // The container for bubbles briefly overlaid onscreen to show settings changes |
| 53 // (volume, brightness, etc.). | 69 // (volume, brightness, etc.). |
| 54 const int kShellWindowId_SettingBubbleContainer = 12; | 70 const int kShellWindowId_SettingBubbleContainer = 15; |
| 55 | 71 |
| 56 // The container for special components overlaid onscreen, such as the | 72 // The container for special components overlaid onscreen, such as the |
| 57 // region selector for partial screenshots. | 73 // region selector for partial screenshots. |
| 58 const int kShellWindowId_OverlayContainer = 13; | 74 const int kShellWindowId_OverlayContainer = 16; |
| 59 | 75 |
| 60 } // namespace internal | 76 } // namespace internal |
| 61 | 77 |
| 62 } // namespace ash | 78 } // namespace ash |
| 63 | 79 |
| 64 | 80 |
| 65 #endif // ASH_SHELL_WINDOW_IDS_H_ | 81 #endif // ASH_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |