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

Unified Diff: ui/views/window/custom_frame_view_unittest.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: hwnd_message_handler 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/window/custom_frame_view_unittest.cc
diff --git a/ui/views/window/custom_frame_view_unittest.cc b/ui/views/window/custom_frame_view_unittest.cc
index 267111902144415eaead9361980e7c7483b158f4..c025e6fc91c7707fa9550ce53c6d1cd1ac91c97a 100644
--- a/ui/views/window/custom_frame_view_unittest.cc
+++ b/ui/views/window/custom_frame_view_unittest.cc
@@ -30,6 +30,7 @@ class MaximizeStateControlDelegate : public WidgetDelegateView {
// WidgetDelegate:
virtual bool CanMaximize() const OVERRIDE { return can_maximize_; }
+ virtual bool CanMinimize() const OVERRIDE { return can_maximize_; }
private:
bool can_maximize_;
« ash/frame/custom_frame_view_ash.cc ('K') | « ui/views/win/hwnd_message_handler_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698