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

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: Now using IsWindowInList. 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;
oshima 2014/10/25 01:35:43 you don't need these change right?
afakhry 2014/10/27 16:10:06 We need these changes, because returning false wil
oshima 2014/10/27 18:20:53 If that's the case, please change ActivityWidgetDe
afakhry 2014/10/27 18:57:24 Done.
}
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