| 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/panel_window.h" | 5 #include "ash/shell/panel_window.h" |
| 6 | 6 |
| 7 #include "ash/common/wm/panels/panel_frame_view.h" |
| 7 #include "ash/screen_util.h" | 8 #include "ash/screen_util.h" |
| 8 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 9 #include "ash/wm/panels/panel_frame_view.h" | |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
| 12 #include "ui/aura/window_event_dispatcher.h" | 12 #include "ui/aura/window_event_dispatcher.h" |
| 13 #include "ui/gfx/canvas.h" | 13 #include "ui/gfx/canvas.h" |
| 14 #include "ui/views/widget/widget.h" | 14 #include "ui/views/widget/widget.h" |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 const int kMinWidth = 100; | 17 const int kMinWidth = 100; |
| 18 const int kMinHeight = 100; | 18 const int kMinHeight = 100; |
| 19 const int kDefaultWidth = 200; | 19 const int kDefaultWidth = 200; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 bool PanelWindow::CanMinimize() const { | 77 bool PanelWindow::CanMinimize() const { |
| 78 return false; | 78 return false; |
| 79 } | 79 } |
| 80 | 80 |
| 81 views::NonClientFrameView* PanelWindow::CreateNonClientFrameView( | 81 views::NonClientFrameView* PanelWindow::CreateNonClientFrameView( |
| 82 views::Widget* widget) { | 82 views::Widget* widget) { |
| 83 return new PanelFrameView(widget, PanelFrameView::FRAME_NONE); | 83 return new PanelFrameView(widget, PanelFrameView::FRAME_NONE); |
| 84 } | 84 } |
| 85 | 85 |
| 86 } // namespace ash | 86 } // namespace ash |
| OLD | NEW |