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