| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_AURA_SHELL_WINDOW_UTIL_H_ | 5 #ifndef UI_AURA_SHELL_WINDOW_UTIL_H_ |
| 6 #define UI_AURA_SHELL_WINDOW_UTIL_H_ | 6 #define UI_AURA_SHELL_WINDOW_UTIL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/aura_shell/aura_shell_export.h" | |
| 10 | |
| 11 namespace aura { | 9 namespace aura { |
| 12 class Window; | 10 class Window; |
| 13 } | 11 } |
| 14 | 12 |
| 15 namespace aura_shell { | 13 namespace aura_shell { |
| 14 namespace window_util { |
| 16 | 15 |
| 17 // Returns true if |window| is in the maximized state. | 16 // Returns true if |window| is in the maximized state. |
| 18 AURA_SHELL_EXPORT bool IsWindowMaximized(aura::Window* window); | 17 bool IsWindowMaximized(aura::Window* window); |
| 19 | 18 |
| 19 // Update window bounds based on a change in show state. |
| 20 void UpdateBoundsFromShowState(aura::Window* window); |
| 21 |
| 22 } // namespace window_util |
| 20 } // namespace aura_shell | 23 } // namespace aura_shell |
| 21 | 24 |
| 22 #endif // UI_AURA_SHELL_WINDOW_UTIL_H_ | 25 #endif // UI_AURA_SHELL_WINDOW_UTIL_H_ |
| OLD | NEW |