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

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

Issue 11363250: Allow Chrome apps to create Ash Panels (apps v2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/wm/panel_frame_view.h » ('j') | chrome/browser/ui/ash/shell_panel_ash.h » ('J')
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/wm/panel_frame_view.h" 7 #include "ash/wm/panel_frame_view.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/gfx/canvas.h" 10 #include "ui/gfx/canvas.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 bool PanelWindow::CanResize() const { 69 bool PanelWindow::CanResize() const {
70 return true; 70 return true;
71 } 71 }
72 72
73 bool PanelWindow::CanMaximize() const { 73 bool PanelWindow::CanMaximize() const {
74 return false; 74 return false;
75 } 75 }
76 76
77 views::NonClientFrameView* PanelWindow::CreateNonClientFrameView( 77 views::NonClientFrameView* PanelWindow::CreateNonClientFrameView(
78 views::Widget* widget) { 78 views::Widget* widget) {
79 return new PanelFrameView(widget); 79 return new PanelFrameView(widget, true);
jeremya 2012/11/15 01:09:25 It's not clear what this parameter means; perhaps
flackr 2012/11/15 16:04:17 Or comment it: /* show_header */ true
stevenjb 2012/11/16 23:42:40 Replaced with enum.
80 } 80 }
81 81
82 } // namespace ash 82 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | ash/wm/panel_frame_view.h » ('j') | chrome/browser/ui/ash/shell_panel_ash.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698