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

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

Issue 583603004: Add CanMinimize to classes that implement WidgetDelegate::CanMaximize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@win_resizable
Patch Set: Don't change behavior in NativeAppWindowViews. 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: ui/views/widget/widget_delegate.h
diff --git a/ui/views/widget/widget_delegate.h b/ui/views/widget/widget_delegate.h
index 4f39ef14d865fb53c3d5ec0edac66c98bc449d75..422c286ea2ee9f31cdb1d6fcc0cfbb3d4b4b1bd8 100644
--- a/ui/views/widget/widget_delegate.h
+++ b/ui/views/widget/widget_delegate.h
@@ -52,13 +52,13 @@ class VIEWS_EXPORT WidgetDelegate {
virtual BubbleDelegateView* AsBubbleDelegate();
virtual DialogDelegate* AsDialogDelegate();
- // Returns true if the window can ever be resized.
+ // Returns true if the window can be resized.
virtual bool CanResize() const;
- // Returns true if the window can ever be maximized.
+ // Returns true if the window can be maximized.
virtual bool CanMaximize() const;
- // Returns true if the window can ever be minimized.
+ // Returns true if the window can be minimized.
virtual bool CanMinimize() const;
// Returns true if the window can be activated.

Powered by Google App Engine
This is Rietveld 408576698