| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 const int kShellWindowId_PowerButtonAnimationContainer = 25; | 108 const int kShellWindowId_PowerButtonAnimationContainer = 25; |
| 109 | 109 |
| 110 const int kShellWindowId_Min = 0; | 110 const int kShellWindowId_Min = 0; |
| 111 const int kShellWindowId_Max = kShellWindowId_PowerButtonAnimationContainer; | 111 const int kShellWindowId_Max = kShellWindowId_PowerButtonAnimationContainer; |
| 112 | 112 |
| 113 // These are the list of container ids of containers which may contain windows | 113 // These are the list of container ids of containers which may contain windows |
| 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|. |
| 119 ASH_EXPORT bool IsActivatableShellWindowId(int id); |
| 120 |
| 118 } // namespace ash | 121 } // namespace ash |
| 119 | 122 |
| 120 #endif // ASH_COMMON_SHELL_WINDOW_IDS_H_ | 123 #endif // ASH_COMMON_SHELL_WINDOW_IDS_H_ |
| OLD | NEW |