| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 // Maximizes |window|, which must not be NULL. | 50 // Maximizes |window|, which must not be NULL. |
| 51 ASH_EXPORT void MaximizeWindow(aura::Window* window); | 51 ASH_EXPORT void MaximizeWindow(aura::Window* window); |
| 52 | 52 |
| 53 // Minimizes |window|, which must not be NULL. | 53 // Minimizes |window|, which must not be NULL. |
| 54 ASH_EXPORT void MinimizeWindow(aura::Window* window); | 54 ASH_EXPORT void MinimizeWindow(aura::Window* window); |
| 55 | 55 |
| 56 // Restores |window|, which must not be NULL. | 56 // Restores |window|, which must not be NULL. |
| 57 ASH_EXPORT void RestoreWindow(aura::Window* window); | 57 ASH_EXPORT void RestoreWindow(aura::Window* window); |
| 58 | 58 |
| 59 // Moves the window to the center of the monitor. | 59 // Moves the window to the center of the display. |
| 60 ASH_EXPORT void CenterWindow(aura::Window* window); | 60 ASH_EXPORT void CenterWindow(aura::Window* window); |
| 61 | 61 |
| 62 } // namespace wm | 62 } // namespace wm |
| 63 } // namespace ash | 63 } // namespace ash |
| 64 | 64 |
| 65 #endif // ASH_WM_WINDOW_UTIL_H_ | 65 #endif // ASH_WM_WINDOW_UTIL_H_ |
| OLD | NEW |