| 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_WM_FULLSCREEN_WINDOW_FINDER_H_ |
| 6 #define ASH_COMMON_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 ash { | 10 namespace ash { |
| 11 | 11 |
| 12 class WmWindow; | 12 class WmWindow; |
| 13 | 13 |
| 14 namespace wm { | 14 namespace wm { |
| 15 | 15 |
| 16 // 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 |
| 17 // 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|. |
| 18 ASH_EXPORT WmWindow* GetWindowForFullscreenMode(WmWindow* context); | 18 ASH_EXPORT WmWindow* GetWindowForFullscreenMode(WmWindow* context); |
| 19 | 19 |
| 20 } // namespace wm | 20 } // namespace wm |
| 21 } // namespace ash | 21 } // namespace ash |
| 22 | 22 |
| 23 #endif // ASH_COMMON_WM_FULLSCREEN_WINDOW_FINDER_H_ | 23 #endif // ASH_WM_FULLSCREEN_WINDOW_FINDER_H_ |
| OLD | NEW |