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

Unified Diff: ui/views/window/custom_frame_view.h

Issue 554183002: Update the maximize button when size constraints change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update NativeWidgetMac. 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
« no previous file with comments | « ui/views/widget/widget_unittest.cc ('k') | ui/views/window/custom_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « ui/views/widget/widget_unittest.cc ('k') | ui/views/window/custom_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698