summaryrefslogtreecommitdiffstats
path: root/ash/shell/panel_window.cc
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-30 21:37:14 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-30 21:37:14 +0000
commitdcf1a105a14c5a4e3f2a45568e19fbc18381163e (patch)
tree06b76474f3894394ec163e33f248a49f7a10480a /ash/shell/panel_window.cc
parent62ba64f0f284b5fbff074a430df77c85a8bd20d0 (diff)
downloadchromium_src-dcf1a105a14c5a4e3f2a45568e19fbc18381163e.zip
chromium_src-dcf1a105a14c5a4e3f2a45568e19fbc18381163e.tar.gz
chromium_src-dcf1a105a14c5a4e3f2a45568e19fbc18381163e.tar.bz2
Allow Chrome apps to create Ash Panels (apps v2)
Adds ShellPanelAsh and window_type=panel support to ShellWindow BUG=161102 Review URL: https://chromiumcodereview.appspot.com/11363250 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170552 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell/panel_window.cc')
-rw-r--r--ash/shell/panel_window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shell/panel_window.cc b/ash/shell/panel_window.cc
index e5d68ac..fb70024 100644
--- a/ash/shell/panel_window.cc
+++ b/ash/shell/panel_window.cc
@@ -76,7 +76,7 @@ bool PanelWindow::CanMaximize() const {
views::NonClientFrameView* PanelWindow::CreateNonClientFrameView(
views::Widget* widget) {
- return new PanelFrameView(widget);
+ return new PanelFrameView(widget, PanelFrameView::FRAME_NONE);
}
} // namespace ash