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

Unified Diff: ui/views/widget/widget_delegate.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: hwnd_message_handler 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
Index: ui/views/widget/widget_delegate.cc
diff --git a/ui/views/widget/widget_delegate.cc b/ui/views/widget/widget_delegate.cc
index 7e1f67e19c3bdfddfcd5917ba409016d83505692..18643b726b83263c6c5d1398e08b21c258121db1 100644
--- a/ui/views/widget/widget_delegate.cc
+++ b/ui/views/widget/widget_delegate.cc
@@ -51,6 +51,10 @@ bool WidgetDelegate::CanMaximize() const {
return false;
}
+bool WidgetDelegate::CanMinimize() const {
+ return false;
+}
+
bool WidgetDelegate::CanActivate() const {
return can_activate_;
}

Powered by Google App Engine
This is Rietveld 408576698