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

Unified Diff: chrome/browser/ui/views/task_manager_view.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: Add TODO. 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: chrome/browser/ui/views/task_manager_view.cc
diff --git a/chrome/browser/ui/views/task_manager_view.cc b/chrome/browser/ui/views/task_manager_view.cc
index d51586f8f61818d7c3b35365330d22703532349d..2ca8935229843d68dce4fc745199879961938947 100644
--- a/chrome/browser/ui/views/task_manager_view.cc
+++ b/chrome/browser/ui/views/task_manager_view.cc
@@ -172,6 +172,7 @@ class TaskManagerView : public views::ButtonListener,
// views::DialogDelegateView:
virtual bool CanResize() const OVERRIDE;
virtual bool CanMaximize() const OVERRIDE;
+ virtual bool CanMinimize() const OVERRIDE;
virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE;
virtual base::string16 GetWindowTitle() const OVERRIDE;
virtual std::string GetWindowName() const OVERRIDE;
@@ -530,6 +531,10 @@ bool TaskManagerView::CanMaximize() const {
return true;
}
+bool TaskManagerView::CanMinimize() const {
+ return true;
+}
+
bool TaskManagerView::ExecuteWindowsCommand(int command_id) {
return false;
}
« no previous file with comments | « chrome/browser/ui/views/profiles/user_manager_view.cc ('k') | components/native_app_window/native_app_window_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698