OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WINDOW_UTIL_H_ | 5 #ifndef ASH_WM_WINDOW_UTIL_H_ |
6 #define ASH_WM_WINDOW_UTIL_H_ | 6 #define ASH_WM_WINDOW_UTIL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 // Returns true if |window| is in the maximized state. | 36 // Returns true if |window| is in the maximized state. |
37 ASH_EXPORT bool IsWindowMaximized(aura::Window* window); | 37 ASH_EXPORT bool IsWindowMaximized(aura::Window* window); |
38 | 38 |
39 // Returns true if |window| is in the fullscreen state. | 39 // Returns true if |window| is in the fullscreen state. |
40 ASH_EXPORT bool IsWindowFullscreen(aura::Window* window); | 40 ASH_EXPORT bool IsWindowFullscreen(aura::Window* window); |
41 | 41 |
42 // Returns true if the set of |windows| contains a full-screen window. | 42 // Returns true if the set of |windows| contains a full-screen window. |
43 typedef std::set<aura::Window*> WindowSet; | 43 typedef std::set<aura::Window*> WindowSet; |
44 ASH_EXPORT bool HasFullscreenWindow(const WindowSet& windows); | 44 ASH_EXPORT bool HasFullscreenWindow(const WindowSet& windows); |
45 | 45 |
| 46 // Sets whether the window should be open in a split mode. Only applicable when |
| 47 // workspaces are used. |
| 48 ASH_EXPORT void SetOpenWindowSplit(aura::Window* window, bool value); |
| 49 ASH_EXPORT bool GetOpenWindowSplit(aura::Window* window); |
| 50 |
46 } // namespace window_util | 51 } // namespace window_util |
47 } // namespace ash | 52 } // namespace ash |
48 | 53 |
49 #endif // ASH_WM_WINDOW_UTIL_H_ | 54 #endif // ASH_WM_WINDOW_UTIL_H_ |
OLD | NEW |