OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_COMMON_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_STATE_H_ | 5 #ifndef ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_STATE_H_ |
6 #define ASH_COMMON_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_STATE_H_ | 6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_STATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/common/wm/window_state.h" | 10 #include "ash/wm/window_state.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 | 12 |
13 namespace ash { | 13 namespace ash { |
14 class MaximizeModeWindowManager; | 14 class MaximizeModeWindowManager; |
15 class WmWindow; | 15 class WmWindow; |
16 | 16 |
17 // The MaximizeModeWindowState implementation which reduces all possible window | 17 // The MaximizeModeWindowState implementation which reduces all possible window |
18 // states to minimized and maximized. If a window cannot be maximized it will be | 18 // states to minimized and maximized. If a window cannot be maximized it will be |
19 // set to normal. If a window cannot fill the entire workspace it will be | 19 // set to normal. If a window cannot fill the entire workspace it will be |
20 // centered within the workspace. | 20 // centered within the workspace. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 wm::WindowStateType current_state_type_; | 78 wm::WindowStateType current_state_type_; |
79 | 79 |
80 // If true, do not update bounds. | 80 // If true, do not update bounds. |
81 bool defer_bounds_updates_; | 81 bool defer_bounds_updates_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowState); | 83 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowState); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace ash | 86 } // namespace ash |
87 | 87 |
88 #endif // ASH_COMMON_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_STATE_H_ | 88 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_STATE_H_ |
OLD | NEW |