Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: ash/shell/panel_window.cc

Issue 2669633003: mash: Fix MusPropertyMirrorAsh for owned properties; add test. (Closed)
Patch Set: Fix ash shell Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/public/cpp/window_properties.cc ('k') | ash/wm/dock/docked_window_resizer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/common/wm/panels/panel_frame_view.h"
8 #include "ash/public/cpp/window_properties.h"
8 #include "ash/screen_util.h" 9 #include "ash/screen_util.h"
9 #include "ash/shell.h" 10 #include "ash/shell.h"
10 #include "ash/wm/window_properties.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "ui/aura/window.h" 12 #include "ui/aura/window.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;
20 const int kDefaultHeight = 300; 20 const int kDefaultHeight = 300;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool PanelWindow::CanMinimize() const { 79 bool PanelWindow::CanMinimize() const {
80 return false; 80 return false;
81 } 81 }
82 82
83 views::NonClientFrameView* PanelWindow::CreateNonClientFrameView( 83 views::NonClientFrameView* PanelWindow::CreateNonClientFrameView(
84 views::Widget* widget) { 84 views::Widget* widget) {
85 return new PanelFrameView(widget, PanelFrameView::FRAME_NONE); 85 return new PanelFrameView(widget, PanelFrameView::FRAME_NONE);
86 } 86 }
87 87
88 } // namespace ash 88 } // namespace ash
OLDNEW
« no previous file with comments | « ash/public/cpp/window_properties.cc ('k') | ash/wm/dock/docked_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698