| 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 #include "ash/shell/toplevel_window.h" | 5 #include "ash/shell/toplevel_window.h" |
| 6 | 6 |
| 7 #include "ash/display/display_controller.h" | 7 #include "ash/display/display_controller.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ash/wm/window_positioner.h" | 9 #include "ash/wm/window_positioner.h" |
| 10 #include "ash/wm/window_state.h" | 10 #include "ash/wm/window_state.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } | 101 } |
| 102 | 102 |
| 103 bool ToplevelWindow::CanResize() const { | 103 bool ToplevelWindow::CanResize() const { |
| 104 return params_.can_resize; | 104 return params_.can_resize; |
| 105 } | 105 } |
| 106 | 106 |
| 107 bool ToplevelWindow::CanMaximize() const { | 107 bool ToplevelWindow::CanMaximize() const { |
| 108 return params_.can_maximize; | 108 return params_.can_maximize; |
| 109 } | 109 } |
| 110 | 110 |
| 111 bool ToplevelWindow::CanMinimize() const { |
| 112 return params_.can_maximize; |
| 113 } |
| 114 |
| 111 } // namespace shell | 115 } // namespace shell |
| 112 } // namespace ash | 116 } // namespace ash |
| OLD | NEW |