| 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_COMMON_SHELL_WINDOW_IDS_H_ | 5 #ifndef ASH_COMMON_SHELL_WINDOW_IDS_H_ |
| 6 #define ASH_COMMON_SHELL_WINDOW_IDS_H_ | 6 #define ASH_COMMON_SHELL_WINDOW_IDS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // A higher-level container that holds containers that hold lock-screen-related | 29 // A higher-level container that holds containers that hold lock-screen-related |
| 30 // windows (which we want to display while the screen is locked; effectively | 30 // windows (which we want to display while the screen is locked; effectively |
| 31 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used | 31 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used |
| 32 // by PowerButtonController for animating lower-level containers. | 32 // by PowerButtonController for animating lower-level containers. |
| 33 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; | 33 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; |
| 34 | 34 |
| 35 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. | 35 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. |
| 36 // This container is not visible. | 36 // This container is not visible. |
| 37 const int kShellWindowId_UnparentedControlContainer = 3; | 37 const int kShellWindowId_UnparentedControlContainer = 3; |
| 38 | 38 |
| 39 // The desktop background window. | 39 // The wallpaper (desktop background) window. |
| 40 const int kShellWindowId_DesktopBackgroundContainer = 4; | 40 const int kShellWindowId_WallpaperContainer = 4; |
| 41 | 41 |
| 42 // The virtual keyboard container. | 42 // The virtual keyboard container. |
| 43 // NOTE: this is lazily created. | 43 // NOTE: this is lazily created. |
| 44 const int kShellWindowId_VirtualKeyboardContainer = 5; | 44 const int kShellWindowId_VirtualKeyboardContainer = 5; |
| 45 | 45 |
| 46 // The container for standard top-level windows. | 46 // The container for standard top-level windows. |
| 47 const int kShellWindowId_DefaultContainer = 6; | 47 const int kShellWindowId_DefaultContainer = 6; |
| 48 | 48 |
| 49 // The container for top-level windows with the 'always-on-top' flag set. | 49 // The container for top-level windows with the 'always-on-top' flag set. |
| 50 const int kShellWindowId_AlwaysOnTopContainer = 7; | 50 const int kShellWindowId_AlwaysOnTopContainer = 7; |
| 51 | 51 |
| 52 // The container for windows docked to either side of the desktop. | 52 // The container for windows docked to either side of the desktop. |
| 53 const int kShellWindowId_DockedContainer = 8; | 53 const int kShellWindowId_DockedContainer = 8; |
| 54 | 54 |
| 55 // The container for the shelf. | 55 // The container for the shelf. |
| 56 const int kShellWindowId_ShelfContainer = 9; | 56 const int kShellWindowId_ShelfContainer = 9; |
| 57 | 57 |
| 58 // The container for bubbles which float over the shelf. | 58 // The container for bubbles which float over the shelf. |
| 59 const int kShellWindowId_ShelfBubbleContainer = 10; | 59 const int kShellWindowId_ShelfBubbleContainer = 10; |
| 60 | 60 |
| 61 // The container for panel windows. | 61 // The container for panel windows. |
| 62 const int kShellWindowId_PanelContainer = 11; | 62 const int kShellWindowId_PanelContainer = 11; |
| 63 | 63 |
| 64 // The container for the app list. | 64 // The container for the app list. |
| 65 const int kShellWindowId_AppListContainer = 12; | 65 const int kShellWindowId_AppListContainer = 12; |
| 66 | 66 |
| 67 // The container for user-specific modal windows. | 67 // The container for user-specific modal windows. |
| 68 const int kShellWindowId_SystemModalContainer = 13; | 68 const int kShellWindowId_SystemModalContainer = 13; |
| 69 | 69 |
| 70 // The container for the lock screen background. | 70 // The container for the lock screen wallpaper (lock screen background). |
| 71 const int kShellWindowId_LockScreenBackgroundContainer = 14; | 71 const int kShellWindowId_LockScreenWallpaperContainer = 14; |
| 72 | 72 |
| 73 // The container for the lock screen. | 73 // The container for the lock screen. |
| 74 const int kShellWindowId_LockScreenContainer = 15; | 74 const int kShellWindowId_LockScreenContainer = 15; |
| 75 | 75 |
| 76 // The container for the lock screen modal windows. | 76 // The container for the lock screen modal windows. |
| 77 const int kShellWindowId_LockSystemModalContainer = 16; | 77 const int kShellWindowId_LockSystemModalContainer = 16; |
| 78 | 78 |
| 79 // The container for the status area. | 79 // The container for the status area. |
| 80 const int kShellWindowId_StatusContainer = 17; | 80 const int kShellWindowId_StatusContainer = 17; |
| 81 | 81 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // that need to be activated. | 114 // that need to be activated. |
| 115 ASH_EXPORT extern const int kActivatableShellWindowIds[]; | 115 ASH_EXPORT extern const int kActivatableShellWindowIds[]; |
| 116 ASH_EXPORT extern const size_t kNumActivatableShellWindowIds; | 116 ASH_EXPORT extern const size_t kNumActivatableShellWindowIds; |
| 117 | 117 |
| 118 // Returns true if |id| is in |kActivatableShellWindowIds|. | 118 // Returns true if |id| is in |kActivatableShellWindowIds|. |
| 119 ASH_EXPORT bool IsActivatableShellWindowId(int id); | 119 ASH_EXPORT bool IsActivatableShellWindowId(int id); |
| 120 | 120 |
| 121 } // namespace ash | 121 } // namespace ash |
| 122 | 122 |
| 123 #endif // ASH_COMMON_SHELL_WINDOW_IDS_H_ | 123 #endif // ASH_COMMON_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |