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

Unified Diff: ui/views/widget/widget_delegate.cc

Issue 668513003: Selecting an app window from the overview mode maximizes the window only if it's maximizable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Acknowledging the code review and fixing other relevant bugs related to the fix and split mode. Created 6 years, 2 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 18643b726b83263c6c5d1398e08b21c258121db1..03948eb4b1483f9188444a3ce49a60b40ec8b070 100644
--- a/ui/views/widget/widget_delegate.cc
+++ b/ui/views/widget/widget_delegate.cc
@@ -44,15 +44,15 @@ DialogDelegate* WidgetDelegate::AsDialogDelegate() {
}
bool WidgetDelegate::CanResize() const {
- return false;
+ return true;
}
bool WidgetDelegate::CanMaximize() const {
- return false;
+ return true;
}
bool WidgetDelegate::CanMinimize() const {
- return false;
+ return true;
}
bool WidgetDelegate::CanActivate() const {
« athena/wm/window_manager_unittest.cc ('K') | « athena/wm/window_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698