| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h
|
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h
|
| index 22aed4e80369077f68aafd2f265c3ecd3dc58389..e03c78a91d59e898e93aa7c6d3f102e1d094f4b1 100644
|
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h
|
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h
|
| @@ -81,8 +81,9 @@ class BrowserNonClientFrameViewAura : public BrowserNonClientFrameView,
|
| // theme image, or the bitmap for |fallback_bitmap_id| if not.
|
| SkBitmap* GetCustomBitmap(int bitmap_id, int fallback_bitmap_id) const;
|
|
|
| - // Window controls.
|
| - views::ImageButton* maximize_button_;
|
| + // Window controls. The |size_button_| either toggles maximized or toggles
|
| + // minimized. The exact behavior is determined by |size_button_minimizes_|.
|
| + views::ImageButton* size_button_;
|
| views::ImageButton* close_button_;
|
|
|
| // For popups, the window icon.
|
| @@ -91,6 +92,10 @@ class BrowserNonClientFrameViewAura : public BrowserNonClientFrameView,
|
| // Painter for the frame header.
|
| scoped_ptr<ash::FramePainter> frame_painter_;
|
|
|
| + // If true the |size_button_| minimizes, otherwise it toggles between
|
| + // maximized and restored.
|
| + bool size_button_minimizes_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAura);
|
| };
|
|
|
|
|