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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 // Maximizes |window|, which must not be NULL. | 42 // Maximizes |window|, which must not be NULL. |
43 ASH_EXPORT void MaximizeWindow(aura::Window* window); | 43 ASH_EXPORT void MaximizeWindow(aura::Window* window); |
44 | 44 |
45 // Restores |window|, which must not be NULL. | 45 // Restores |window|, which must not be NULL. |
46 ASH_EXPORT void RestoreWindow(aura::Window* window); | 46 ASH_EXPORT void RestoreWindow(aura::Window* window); |
47 | 47 |
48 // Returns true if the set of |windows| contains a full-screen window. | 48 // Returns true if the set of |windows| contains a full-screen window. |
49 typedef std::set<aura::Window*> WindowSet; | 49 typedef std::set<aura::Window*> WindowSet; |
50 ASH_EXPORT bool HasFullscreenWindow(const WindowSet& windows); | 50 ASH_EXPORT bool HasFullscreenWindow(const WindowSet& windows); |
51 | 51 |
| 52 // Sets whether the window should be open in a split mode. Only applicable when |
| 53 // workspaces are used. |
| 54 ASH_EXPORT void SetOpenWindowSplit(aura::Window* window, bool value); |
| 55 ASH_EXPORT bool GetOpenWindowSplit(aura::Window* window); |
| 56 |
52 } // namespace window_util | 57 } // namespace window_util |
53 } // namespace ash | 58 } // namespace ash |
54 | 59 |
55 #endif // ASH_WM_WINDOW_UTIL_H_ | 60 #endif // ASH_WM_WINDOW_UTIL_H_ |
OLD | NEW |