Index: ui/views/window/custom_frame_view.h |
diff --git a/ui/views/window/custom_frame_view.h b/ui/views/window/custom_frame_view.h |
index fe5a3e4c7bd4c8726b9324387e18fedec2ca9404..f2f738b625565f49bc594960c46351dfe1efa93c 100644 |
--- a/ui/views/window/custom_frame_view.h |
+++ b/ui/views/window/custom_frame_view.h |
@@ -48,6 +48,7 @@ class VIEWS_EXPORT CustomFrameView : public NonClientFrameView, |
virtual void ResetWindowControls() OVERRIDE; |
virtual void UpdateWindowIcon() OVERRIDE; |
virtual void UpdateWindowTitle() OVERRIDE; |
+ virtual void SizeConstraintsChanged() OVERRIDE; |
// Overridden from View: |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
@@ -146,9 +147,6 @@ class VIEWS_EXPORT CustomFrameView : public NonClientFrameView, |
ImageButton* restore_button_; |
ImageButton* close_button_; |
- // Should maximize button be shown? |
- bool should_show_maximize_button_; |
- |
// Background painter for the window frame. |
scoped_ptr<FrameBackground> frame_background_; |