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

Unified Diff: athena/activity/activity_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: 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
« no previous file with comments | « athena/activity/activity_widget_delegate.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_widget_delegate.cc
diff --git a/athena/activity/activity_widget_delegate.cc b/athena/activity/activity_widget_delegate.cc
index 3c638e8564afc8ad95d00c6c7998af660fc2da3d..b387b50a6f37d570e7de800493773f09d45c0d53 100644
--- a/athena/activity/activity_widget_delegate.cc
+++ b/athena/activity/activity_widget_delegate.cc
@@ -18,6 +18,18 @@ ActivityWidgetDelegate::ActivityWidgetDelegate(ActivityViewModel* view_model)
ActivityWidgetDelegate::~ActivityWidgetDelegate() {
}
+bool ActivityWidgetDelegate::CanResize() const {
+ return true;
+}
+
+bool ActivityWidgetDelegate::CanMaximize() const {
+ return true;
+}
+
+bool ActivityWidgetDelegate::CanMinimize() const {
+ return true;
+}
+
base::string16 ActivityWidgetDelegate::GetWindowTitle() const {
return view_model_->GetTitle();
}
« no previous file with comments | « athena/activity/activity_widget_delegate.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698