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

Unified Diff: ash/shell/toplevel_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/toplevel_window.h ('k') | ash/shell/window_type_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/toplevel_window.cc
diff --git a/ash/shell/toplevel_window.cc b/ash/shell/toplevel_window.cc
index 2f620c19581b2c111bd5c664980c979519bdb8cb..27c96d688ac3a18bc4271995b2ce5e407a95e61c 100644
--- a/ash/shell/toplevel_window.cc
+++ b/ash/shell/toplevel_window.cc
@@ -108,5 +108,9 @@ bool ToplevelWindow::CanMaximize() const {
return params_.can_maximize;
}
+bool ToplevelWindow::CanMinimize() const {
+ return params_.can_maximize;
+}
+
} // namespace shell
} // namespace ash
« no previous file with comments | « ash/shell/toplevel_window.h ('k') | ash/shell/window_type_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698