Chromium Code Reviews| 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 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 65 // Returns the existing Layer for |window| (and all its descendants) and creates | 65 // Returns the existing Layer for |window| (and all its descendants) and creates |
| 66 // a new layer for |window| and all its descendants. This is intended for | 66 // a new layer for |window| and all its descendants. This is intended for |
| 67 // animations that want to animate between the existing visuals and a new window | 67 // animations that want to animate between the existing visuals and a new window |
| 68 // state. The caller owns the return value. | 68 // state. The caller owns the return value. |
| 69 ASH_EXPORT ui::Layer* RecreateWindowLayers( | 69 ASH_EXPORT ui::Layer* RecreateWindowLayers( |
| 70 aura::Window* window) WARN_UNUSED_RESULT; | 70 aura::Window* window) WARN_UNUSED_RESULT; |
| 71 | 71 |
| 72 // Deletes |layer| and all its child layers. | 72 // Deletes |layer| and all its child layers. |
| 73 ASH_EXPORT void DeepDeleteLayers(ui::Layer* layer); | 73 ASH_EXPORT void DeepDeleteLayers(ui::Layer* layer); |
| 74 | 74 |
| 75 // The |window| will be toggled between full screen and normal mode. It will | |
|
sky
2012/08/28 20:46:36
full screen -> maximized
Mr4D (OOO till 08-26)
2012/08/28 22:40:02
Done.
| |
| 76 // also handle the left/right/maximized toggles properly. | |
| 77 ASH_EXPORT void ToggleMaximizedState(aura::Window* window); | |
| 78 | |
| 75 } // namespace wm | 79 } // namespace wm |
| 76 } // namespace ash | 80 } // namespace ash |
| 77 | 81 |
| 78 #endif // ASH_WM_WINDOW_UTIL_H_ | 82 #endif // ASH_WM_WINDOW_UTIL_H_ |
| OLD | NEW |