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

Unified 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: Address feedback and add unit test for PanelLayoutManager minimize/restore 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/wm/custom_frame_view_ash.cc » ('j') | ash/wm/frame_painter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/panel_window.cc
diff --git a/ash/shell/panel_window.cc b/ash/shell/panel_window.cc
index e5d68ac6d967589c4bfe7bd30c5a85a01df34eb2..e68e30f8e195d7f6dd53c0d800fe61945d9f85f8 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_ASH);
}
} // namespace ash
« no previous file with comments | « no previous file | ash/wm/custom_frame_view_ash.cc » ('j') | ash/wm/frame_painter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698