OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_WM_FOCUS_RULES_H_ | 5 #ifndef ASH_WM_FOCUS_RULES_H_ |
6 #define ASH_COMMON_WM_FOCUS_RULES_H_ | 6 #define ASH_WM_FOCUS_RULES_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
11 | 11 |
12 class WmWindow; | 12 class WmWindow; |
13 | 13 |
14 // These functions provide the ash implementation wm::FocusRules. See | 14 // These functions provide the ash implementation wm::FocusRules. See |
15 // description there for details. | 15 // description there for details. |
16 ASH_EXPORT bool IsToplevelWindow(WmWindow* window); | 16 ASH_EXPORT bool IsToplevelWindow(WmWindow* window); |
17 ASH_EXPORT bool IsWindowConsideredActivatable(WmWindow* window); | 17 ASH_EXPORT bool IsWindowConsideredActivatable(WmWindow* window); |
18 ASH_EXPORT bool IsWindowConsideredVisibleForActivation(WmWindow* window); | 18 ASH_EXPORT bool IsWindowConsideredVisibleForActivation(WmWindow* window); |
19 | 19 |
20 } // namespace ash | 20 } // namespace ash |
21 | 21 |
22 #endif // ASH_COMMON_WM_FOCUS_RULES_H_ | 22 #endif // ASH_WM_FOCUS_RULES_H_ |
OLD | NEW |