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 "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 // Maximizes |window|, which must not be NULL. | 44 // Maximizes |window|, which must not be NULL. |
45 ASH_EXPORT void MaximizeWindow(aura::Window* window); | 45 ASH_EXPORT void MaximizeWindow(aura::Window* window); |
46 | 46 |
47 // Minimizes |window|, which must not be NULL. | 47 // Minimizes |window|, which must not be NULL. |
48 ASH_EXPORT void MinimizeWindow(aura::Window* window); | 48 ASH_EXPORT void MinimizeWindow(aura::Window* window); |
49 | 49 |
50 // Restores |window|, which must not be NULL. | 50 // Restores |window|, which must not be NULL. |
51 ASH_EXPORT void RestoreWindow(aura::Window* window); | 51 ASH_EXPORT void RestoreWindow(aura::Window* window); |
52 | 52 |
53 // Moves the window to the center of the monitor. | |
54 ASH_EXPORT void CenterWindow(aura::Window* window); | |
55 | |
56 } // namespace wm | 53 } // namespace wm |
57 } // namespace ash | 54 } // namespace ash |
58 | 55 |
59 #endif // ASH_WM_WINDOW_UTIL_H_ | 56 #endif // ASH_WM_WINDOW_UTIL_H_ |
OLD | NEW |