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