| 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_WM_FOCUS_RULES_H_ | 5 #ifndef ASH_WM_FOCUS_RULES_H_ |
| 6 #define ASH_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 aura { |
| 11 class Window; |
| 12 } |
| 13 |
| 10 namespace ash { | 14 namespace ash { |
| 11 | 15 |
| 12 class WmWindow; | |
| 13 | |
| 14 // These functions provide the ash implementation wm::FocusRules. See | 16 // These functions provide the ash implementation wm::FocusRules. See |
| 15 // description there for details. | 17 // description there for details. |
| 16 ASH_EXPORT bool IsToplevelWindow(WmWindow* window); | 18 ASH_EXPORT bool IsToplevelWindow(aura::Window* window); |
| 17 ASH_EXPORT bool IsWindowConsideredActivatable(WmWindow* window); | 19 ASH_EXPORT bool IsWindowConsideredActivatable(aura::Window* window); |
| 18 ASH_EXPORT bool IsWindowConsideredVisibleForActivation(WmWindow* window); | 20 ASH_EXPORT bool IsWindowConsideredVisibleForActivation(aura::Window* window); |
| 19 | 21 |
| 20 } // namespace ash | 22 } // namespace ash |
| 21 | 23 |
| 22 #endif // ASH_WM_FOCUS_RULES_H_ | 24 #endif // ASH_WM_FOCUS_RULES_H_ |
| OLD | NEW |