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