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