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_FULLSCREEN_WINDOW_FINDER_H_ | 5 #ifndef ASH_WM_FULLSCREEN_WINDOW_FINDER_H_ |
6 #define ASH_WM_FULLSCREEN_WINDOW_FINDER_H_ | 6 #define ASH_WM_FULLSCREEN_WINDOW_FINDER_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 | |
12 class WmWindow; | |
13 | |
14 namespace wm { | 15 namespace wm { |
15 | 16 |
16 // Returns the topmost window or one of its transient parents, if any of them | 17 // Returns the topmost window or one of its transient parents, if any of them |
17 // are in fullscreen mode. This searches for a window in the root of |context|. | 18 // are in fullscreen mode. This searches for a window in the root of |context|. |
18 ASH_EXPORT WmWindow* GetWindowForFullscreenMode(WmWindow* context); | 19 ASH_EXPORT aura::Window* GetWindowForFullscreenMode(aura::Window* context); |
19 | 20 |
20 } // namespace wm | 21 } // namespace wm |
21 } // namespace ash | 22 } // namespace ash |
22 | 23 |
23 #endif // ASH_WM_FULLSCREEN_WINDOW_FINDER_H_ | 24 #endif // ASH_WM_FULLSCREEN_WINDOW_FINDER_H_ |
OLD | NEW |