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

Unified Diff: ash/shell/panel_window.cc

Issue 583603004: Add CanMinimize to classes that implement WidgetDelegate::CanMaximize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@win_resizable
Patch Set: Add TODO. Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell/panel_window.h ('k') | ash/shell/toplevel_window.h » ('j') | no next file with comments »
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 3a197a3d0747acd498e9dce91865006584d38daa..f092aa8ce376244c9b425e1a6773d303fc54544d 100644
--- a/ash/shell/panel_window.cc
+++ b/ash/shell/panel_window.cc
@@ -81,6 +81,10 @@ bool PanelWindow::CanMaximize() const {
return false;
}
+bool PanelWindow::CanMinimize() const {
+ return false;
+}
+
views::NonClientFrameView* PanelWindow::CreateNonClientFrameView(
views::Widget* widget) {
return new PanelFrameView(widget, PanelFrameView::FRAME_NONE);
« no previous file with comments | « ash/shell/panel_window.h ('k') | ash/shell/toplevel_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698