Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: ash/wm/focus_rules.h

Issue 2895713002: [mus+ash] Removes WmWindow from ash/wm/mru_window_tracker and overview mode (Closed)
Patch Set: Address nits, unit_tests target compiles Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698