OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SWITCHABLE_WINDOWS_H_ | 5 #ifndef ASH_SWITCHABLE_WINDOWS_H_ |
6 #define ASH_SWITCHABLE_WINDOWS_H_ | 6 #define ASH_SWITCHABLE_WINDOWS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
| 11 namespace aura { |
| 12 class Window; |
| 13 } |
| 14 |
11 namespace ash { | 15 namespace ash { |
12 | 16 |
13 // List of containers which contain windows that can be switched via Alt+Tab to. | 17 // List of containers which contain windows that can be switched via Alt+Tab to. |
14 ASH_EXPORT extern const int kSwitchableWindowContainerIds[]; | 18 ASH_EXPORT extern const int kSwitchableWindowContainerIds[]; |
15 | 19 |
16 // The number of elements in kSwitchableWindowContainerIds. | 20 // The number of elements in kSwitchableWindowContainerIds. |
17 ASH_EXPORT extern const size_t kSwitchableWindowContainerIdsLength; | 21 ASH_EXPORT extern const size_t kSwitchableWindowContainerIdsLength; |
18 | 22 |
| 23 // Returns true if |window| is a container for windows which can be switched to. |
| 24 ASH_EXPORT bool IsSwitchableContainer(const aura::Window* window); |
| 25 |
19 } // namespace ash | 26 } // namespace ash |
20 | 27 |
21 #endif // ASH_SWITCHABLE_WINDOWS_H_ | 28 #endif // ASH_SWITCHABLE_WINDOWS_H_ |
OLD | NEW |