OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef ASH_COMMON_WM_FOCUS_RULES_H_ | |
6 #define ASH_COMMON_WM_FOCUS_RULES_H_ | |
7 | |
8 #include "ash/ash_export.h" | |
9 | |
10 namespace ash { | |
11 | |
12 class WmWindow; | |
13 | |
14 // These functions provide the ash implementation wm::FocusRules. See | |
15 // description there for details. | |
16 ASH_EXPORT bool IsToplevelWindow(WmWindow* window); | |
17 ASH_EXPORT bool IsWindowConsideredActivatable(WmWindow* window); | |
18 ASH_EXPORT bool IsWindowConsideredVisibleForActivation(WmWindow* window); | |
19 | |
20 } // namespace ash | |
21 | |
22 #endif // ASH_COMMON_WM_FOCUS_RULES_H_ | |
OLD | NEW |