| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 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 |
| 81 // action). The action handler container's children should be visible on lock |
| 82 // screen, but only when an action is being handled - i.e. action handling |
| 83 // state is either: |
| 84 // * active - the container is stacked above LockScreenContainer |
| 85 // * background - the container is stacked below LockScreenContainer |
| 86 kShellWindowId_LockActionHandlerContainer, |
| 87 |
| 80 // The container for the lock screen modal windows. | 88 // The container for the lock screen modal windows. |
| 81 kShellWindowId_LockSystemModalContainer, | 89 kShellWindowId_LockSystemModalContainer, |
| 82 | 90 |
| 83 // The container for the status area. | 91 // The container for the status area. |
| 84 kShellWindowId_StatusContainer, | 92 kShellWindowId_StatusContainer, |
| 85 | 93 |
| 86 // A parent container that holds the virtual keyboard container and ime | 94 // A parent container that holds the virtual keyboard container and ime |
| 87 // windows if any. This is to ensure that the virtual keyboard or ime window | 95 // windows if any. This is to ensure that the virtual keyboard or ime window |
| 88 // is stacked above most containers but below the mouse cursor and the power | 96 // is stacked above most containers but below the mouse cursor and the power |
| 89 // off animation. | 97 // off animation. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 kShellWindowId_VirtualKeyboardContainer, | 137 kShellWindowId_VirtualKeyboardContainer, |
| 130 kShellWindowId_DefaultContainer, | 138 kShellWindowId_DefaultContainer, |
| 131 kShellWindowId_AlwaysOnTopContainer, | 139 kShellWindowId_AlwaysOnTopContainer, |
| 132 kShellWindowId_ShelfContainer, | 140 kShellWindowId_ShelfContainer, |
| 133 kShellWindowId_ShelfBubbleContainer, | 141 kShellWindowId_ShelfBubbleContainer, |
| 134 kShellWindowId_PanelContainer, | 142 kShellWindowId_PanelContainer, |
| 135 kShellWindowId_AppListContainer, | 143 kShellWindowId_AppListContainer, |
| 136 kShellWindowId_SystemModalContainer, | 144 kShellWindowId_SystemModalContainer, |
| 137 kShellWindowId_LockScreenWallpaperContainer, | 145 kShellWindowId_LockScreenWallpaperContainer, |
| 138 kShellWindowId_LockScreenContainer, | 146 kShellWindowId_LockScreenContainer, |
| 147 kShellWindowId_LockActionHandlerContainer, |
| 139 kShellWindowId_LockSystemModalContainer, | 148 kShellWindowId_LockSystemModalContainer, |
| 140 kShellWindowId_StatusContainer, | 149 kShellWindowId_StatusContainer, |
| 141 kShellWindowId_ImeWindowParentContainer, | 150 kShellWindowId_ImeWindowParentContainer, |
| 142 kShellWindowId_MenuContainer, | 151 kShellWindowId_MenuContainer, |
| 143 kShellWindowId_DragImageAndTooltipContainer, | 152 kShellWindowId_DragImageAndTooltipContainer, |
| 144 kShellWindowId_SettingBubbleContainer, | 153 kShellWindowId_SettingBubbleContainer, |
| 145 kShellWindowId_OverlayContainer, | 154 kShellWindowId_OverlayContainer, |
| 146 kShellWindowId_PhantomWindow, | 155 kShellWindowId_PhantomWindow, |
| 147 kShellWindowId_MouseCursorContainer, | 156 kShellWindowId_MouseCursorContainer, |
| 148 kShellWindowId_PowerButtonAnimationContainer, | 157 kShellWindowId_PowerButtonAnimationContainer, |
| 149 }; | 158 }; |
| 150 | 159 |
| 151 // 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 |
| 152 // that need to be activated. | 161 // that need to be activated. |
| 153 ASH_PUBLIC_EXPORT extern const int32_t kActivatableShellWindowIds[]; | 162 ASH_PUBLIC_EXPORT extern const int32_t kActivatableShellWindowIds[]; |
| 154 ASH_PUBLIC_EXPORT extern const size_t kNumActivatableShellWindowIds; | 163 ASH_PUBLIC_EXPORT extern const size_t kNumActivatableShellWindowIds; |
| 155 | 164 |
| 156 // Returns true if |id| is in |kActivatableShellWindowIds|. | 165 // Returns true if |id| is in |kActivatableShellWindowIds|. |
| 157 ASH_PUBLIC_EXPORT bool IsActivatableShellWindowId(int32_t id); | 166 ASH_PUBLIC_EXPORT bool IsActivatableShellWindowId(int32_t id); |
| 158 | 167 |
| 159 } // namespace ash | 168 } // namespace ash |
| 160 | 169 |
| 161 #endif // ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ | 170 #endif // ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |