Index: ash/frame/caption_buttons/frame_caption_button_container_view.h |
diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view.h b/ash/frame/caption_buttons/frame_caption_button_container_view.h |
index 1314f38d6c52702c97a2160215fbd2c612064f6b..658df05ea637bd2fb2b726a54f759d860dc073ba 100644 |
--- a/ash/frame/caption_buttons/frame_caption_button_container_view.h |
+++ b/ash/frame/caption_buttons/frame_caption_button_container_view.h |
@@ -33,8 +33,18 @@ |
public: |
static const char kViewClassName[]; |
+ // Whether the frame can be minimized (either via the maximize/restore button |
+ // or via a dedicated button). |
+ enum MinimizeAllowed { |
+ MINIMIZE_ALLOWED, |
+ MINIMIZE_DISALLOWED |
+ }; |
+ |
// |frame| is the views::Widget that the caption buttons act on. |
- explicit FrameCaptionButtonContainerView(views::Widget* frame); |
+ // |minimize_allowed| indicates whether the frame can be minimized (either via |
+ // the maximize/restore button or via a dedicated button). |
+ FrameCaptionButtonContainerView(views::Widget* frame, |
+ MinimizeAllowed minimize_allowed); |
virtual ~FrameCaptionButtonContainerView(); |
// For testing. |