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

Unified Diff: athena/activity/activity_widget_delegate.h

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: Following the review comments 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 | « no previous file | athena/activity/activity_widget_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_widget_delegate.h
diff --git a/athena/activity/activity_widget_delegate.h b/athena/activity/activity_widget_delegate.h
index 7dbedef4db12d4755acba43c075558d48339730e..1f4e18a393f855a379c83e59a85399a8c8c24d21 100644
--- a/athena/activity/activity_widget_delegate.h
+++ b/athena/activity/activity_widget_delegate.h
@@ -28,6 +28,15 @@ class ActivityWidgetDelegate : public views::WidgetDelegate {
views::NonClientFrameView* CreateNonClientFrameView(
views::Widget* widget) override;
+ // Returns true if the window can be resized.
oshima 2014/10/27 19:12:27 you don't need comment for overridden methods. Jus
afakhry 2014/10/27 19:20:57 Done.
+ bool CanResize() const override;
+
+ // Returns true if the window can be maximized.
+ bool CanMaximize() const override;
+
+ // Returns true if the window can be minimized.
+ bool CanMinimize() const override;
+
private:
ActivityViewModel* view_model_;
« no previous file with comments | « no previous file | athena/activity/activity_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698