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