| 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_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ | 5 #ifndef ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ |
| 6 #define ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ | 6 #define ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // The virtual keyboard container. | 49 // The virtual keyboard container. |
| 50 // NOTE: this is lazily created. | 50 // NOTE: this is lazily created. |
| 51 kShellWindowId_VirtualKeyboardContainer, | 51 kShellWindowId_VirtualKeyboardContainer, |
| 52 | 52 |
| 53 // The container for standard top-level windows. | 53 // The container for standard top-level windows. |
| 54 kShellWindowId_DefaultContainer, | 54 kShellWindowId_DefaultContainer, |
| 55 | 55 |
| 56 // The container for top-level windows with the 'always-on-top' flag set. | 56 // The container for top-level windows with the 'always-on-top' flag set. |
| 57 kShellWindowId_AlwaysOnTopContainer, | 57 kShellWindowId_AlwaysOnTopContainer, |
| 58 | 58 |
| 59 // The container for the app list. |
| 60 kShellWindowId_AppListContainer, |
| 61 |
| 59 // The container for the shelf. | 62 // The container for the shelf. |
| 60 kShellWindowId_ShelfContainer, | 63 kShellWindowId_ShelfContainer, |
| 61 | 64 |
| 62 // The container for bubbles which float over the shelf. | 65 // The container for bubbles which float over the shelf. |
| 63 kShellWindowId_ShelfBubbleContainer, | 66 kShellWindowId_ShelfBubbleContainer, |
| 64 | 67 |
| 65 // The container for panel windows. | 68 // The container for panel windows. |
| 66 kShellWindowId_PanelContainer, | 69 kShellWindowId_PanelContainer, |
| 67 | 70 |
| 68 // The container for the app list. | |
| 69 kShellWindowId_AppListContainer, | |
| 70 | |
| 71 // The container for user-specific modal windows. | 71 // The container for user-specific modal windows. |
| 72 kShellWindowId_SystemModalContainer, | 72 kShellWindowId_SystemModalContainer, |
| 73 | 73 |
| 74 // The container for the lock screen wallpaper (lock screen background). | 74 // The container for the lock screen wallpaper (lock screen background). |
| 75 kShellWindowId_LockScreenWallpaperContainer, | 75 kShellWindowId_LockScreenWallpaperContainer, |
| 76 | 76 |
| 77 // The container for the lock screen. | 77 // The container for the lock screen. |
| 78 kShellWindowId_LockScreenContainer, | 78 kShellWindowId_LockScreenContainer, |
| 79 | 79 |
| 80 // The container for windows that handle lock tray actions (e.g. new note | 80 // The container for windows that handle lock tray actions (e.g. new note |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 const int32_t kAllShellContainerIds[] = { | 130 const int32_t kAllShellContainerIds[] = { |
| 131 kShellWindowId_ScreenRotationContainer, | 131 kShellWindowId_ScreenRotationContainer, |
| 132 kShellWindowId_NonLockScreenContainersContainer, | 132 kShellWindowId_NonLockScreenContainersContainer, |
| 133 kShellWindowId_LockScreenContainersContainer, | 133 kShellWindowId_LockScreenContainersContainer, |
| 134 kShellWindowId_LockScreenRelatedContainersContainer, | 134 kShellWindowId_LockScreenRelatedContainersContainer, |
| 135 kShellWindowId_UnparentedControlContainer, | 135 kShellWindowId_UnparentedControlContainer, |
| 136 kShellWindowId_WallpaperContainer, | 136 kShellWindowId_WallpaperContainer, |
| 137 kShellWindowId_VirtualKeyboardContainer, | 137 kShellWindowId_VirtualKeyboardContainer, |
| 138 kShellWindowId_DefaultContainer, | 138 kShellWindowId_DefaultContainer, |
| 139 kShellWindowId_AlwaysOnTopContainer, | 139 kShellWindowId_AlwaysOnTopContainer, |
| 140 kShellWindowId_AppListContainer, |
| 140 kShellWindowId_ShelfContainer, | 141 kShellWindowId_ShelfContainer, |
| 141 kShellWindowId_ShelfBubbleContainer, | 142 kShellWindowId_ShelfBubbleContainer, |
| 142 kShellWindowId_PanelContainer, | 143 kShellWindowId_PanelContainer, |
| 143 kShellWindowId_AppListContainer, | |
| 144 kShellWindowId_SystemModalContainer, | 144 kShellWindowId_SystemModalContainer, |
| 145 kShellWindowId_LockScreenWallpaperContainer, | 145 kShellWindowId_LockScreenWallpaperContainer, |
| 146 kShellWindowId_LockScreenContainer, | 146 kShellWindowId_LockScreenContainer, |
| 147 kShellWindowId_LockActionHandlerContainer, | 147 kShellWindowId_LockActionHandlerContainer, |
| 148 kShellWindowId_LockSystemModalContainer, | 148 kShellWindowId_LockSystemModalContainer, |
| 149 kShellWindowId_StatusContainer, | 149 kShellWindowId_StatusContainer, |
| 150 kShellWindowId_ImeWindowParentContainer, | 150 kShellWindowId_ImeWindowParentContainer, |
| 151 kShellWindowId_MenuContainer, | 151 kShellWindowId_MenuContainer, |
| 152 kShellWindowId_DragImageAndTooltipContainer, | 152 kShellWindowId_DragImageAndTooltipContainer, |
| 153 kShellWindowId_SettingBubbleContainer, | 153 kShellWindowId_SettingBubbleContainer, |
| 154 kShellWindowId_OverlayContainer, | 154 kShellWindowId_OverlayContainer, |
| 155 kShellWindowId_PhantomWindow, | 155 kShellWindowId_PhantomWindow, |
| 156 kShellWindowId_MouseCursorContainer, | 156 kShellWindowId_MouseCursorContainer, |
| 157 kShellWindowId_PowerButtonAnimationContainer, | 157 kShellWindowId_PowerButtonAnimationContainer, |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 // These are the list of container ids of containers which may contain windows | 160 // These are the list of container ids of containers which may contain windows |
| 161 // that need to be activated. | 161 // that need to be activated. |
| 162 ASH_PUBLIC_EXPORT extern const int32_t kActivatableShellWindowIds[]; | 162 ASH_PUBLIC_EXPORT extern const int32_t kActivatableShellWindowIds[]; |
| 163 ASH_PUBLIC_EXPORT extern const size_t kNumActivatableShellWindowIds; | 163 ASH_PUBLIC_EXPORT extern const size_t kNumActivatableShellWindowIds; |
| 164 | 164 |
| 165 // Returns true if |id| is in |kActivatableShellWindowIds|. | 165 // Returns true if |id| is in |kActivatableShellWindowIds|. |
| 166 ASH_PUBLIC_EXPORT bool IsActivatableShellWindowId(int32_t id); | 166 ASH_PUBLIC_EXPORT bool IsActivatableShellWindowId(int32_t id); |
| 167 | 167 |
| 168 } // namespace ash | 168 } // namespace ash |
| 169 | 169 |
| 170 #endif // ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ | 170 #endif // ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |