| 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/screen_ash.h" | 8 #include "ash/screen_ash.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/wm/property_util.h" | |
| 11 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 12 #include "ui/aura/root_window.h" | 11 #include "ui/aura/root_window.h" |
| 13 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
| 14 #include "ui/gfx/canvas.h" | 13 #include "ui/gfx/canvas.h" |
| 15 #include "ui/views/widget/widget.h" | 14 #include "ui/views/widget/widget.h" |
| 16 | 15 |
| 17 namespace ash { | 16 namespace ash { |
| 18 namespace shell { | 17 namespace shell { |
| 19 | 18 |
| 20 ToplevelWindow::CreateParams::CreateParams() | 19 ToplevelWindow::CreateParams::CreateParams() |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 bool ToplevelWindow::CanResize() const { | 59 bool ToplevelWindow::CanResize() const { |
| 61 return params_.can_resize; | 60 return params_.can_resize; |
| 62 } | 61 } |
| 63 | 62 |
| 64 bool ToplevelWindow::CanMaximize() const { | 63 bool ToplevelWindow::CanMaximize() const { |
| 65 return params_.can_maximize; | 64 return params_.can_maximize; |
| 66 } | 65 } |
| 67 | 66 |
| 68 } // namespace shell | 67 } // namespace shell |
| 69 } // namespace ash | 68 } // namespace ash |
| OLD | NEW |