| 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/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/wm/window_positioner.h" | 8 #include "ash/wm/window_positioner.h" |
| 9 #include "ash/wm/window_state.h" | 9 #include "ash/wm/window_state.h" |
| 10 #include "ash/wm/window_state_aura.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 11 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
| 12 #include "ui/aura/window_event_dispatcher.h" | 13 #include "ui/aura/window_event_dispatcher.h" |
| 13 #include "ui/gfx/canvas.h" | 14 #include "ui/gfx/canvas.h" |
| 14 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
| 15 | 16 |
| 16 namespace ash { | 17 namespace ash { |
| 17 namespace shell { | 18 namespace shell { |
| 18 namespace { | 19 namespace { |
| 19 | 20 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 bool ToplevelWindow::CanMaximize() const { | 101 bool ToplevelWindow::CanMaximize() const { |
| 101 return params_.can_maximize; | 102 return params_.can_maximize; |
| 102 } | 103 } |
| 103 | 104 |
| 104 bool ToplevelWindow::CanMinimize() const { | 105 bool ToplevelWindow::CanMinimize() const { |
| 105 return params_.can_maximize; | 106 return params_.can_maximize; |
| 106 } | 107 } |
| 107 | 108 |
| 108 } // namespace shell | 109 } // namespace shell |
| 109 } // namespace ash | 110 } // namespace ash |
| OLD | NEW |