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

Unified Diff: ui/views/window/non_client_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/window/native_frame_view.cc ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/non_client_view.h
diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h
index 721097c6ce1124eb20eea23ac18af99d1fb944a3..0ddc5f65a543e87476a5d9d6ea489955843979ba 100644
--- a/ui/views/window/non_client_view.h
+++ b/ui/views/window/non_client_view.h
@@ -79,6 +79,7 @@ class VIEWS_EXPORT NonClientFrameView : public View,
virtual void ResetWindowControls() = 0;
virtual void UpdateWindowIcon() = 0;
virtual void UpdateWindowTitle() = 0;
+ virtual void SizeConstraintsChanged() = 0;
// View:
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
@@ -195,6 +196,9 @@ class VIEWS_EXPORT NonClientView : public View, public ViewTargeterDelegate {
// title.
void UpdateWindowTitle();
+ // Called when the size constraints of the window change.
+ void SizeConstraintsChanged();
+
// Get/Set client_view property.
ClientView* client_view() const { return client_view_; }
void set_client_view(ClientView* client_view) {
« no previous file with comments | « ui/views/window/native_frame_view.cc ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698