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_WM_COMMON_FULLSCREEN_WINDOW_FINDER_H_ | |
6 #define ASH_WM_COMMON_FULLSCREEN_WINDOW_FINDER_H_ | |
7 | |
8 #include "ash/ash_export.h" | |
9 | |
10 namespace ash { | |
11 namespace wm { | |
12 | |
13 class WmWindow; | |
14 | |
15 // 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 ASH_EXPORT WmWindow* GetWindowForFullscreenMode(WmWindow* context); | |
18 | |
19 } // namespace wm | |
20 } // namespace ash | |
21 | |
22 #endif // ASH_WM_COMMON_FULLSCREEN_WINDOW_FINDER_H_ | |
OLD | NEW |