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

Unified Diff: ash/frame/custom_frame_view_ash.cc

Issue 554183002: Update the maximize button when size constraints change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ash/frame/custom_frame_view_ash.cc
diff --git a/ash/frame/custom_frame_view_ash.cc b/ash/frame/custom_frame_view_ash.cc
index 39d756651f4e788bedcdc02397d25c93c17feb90..8be9606d8e3101a186c54cbf2defcb67b7da0396 100644
--- a/ash/frame/custom_frame_view_ash.cc
+++ b/ash/frame/custom_frame_view_ash.cc
@@ -227,6 +227,9 @@ void CustomFrameViewAsh::HeaderView::SchedulePaintForTitle() {
void CustomFrameViewAsh::HeaderView::ResetWindowControls() {
caption_button_container_->ResetWindowControls();
+ caption_button_container_->UpdateSizeButtonVisibility();
+
+ Layout();
}
int CustomFrameViewAsh::HeaderView::GetPreferredOnScreenHeight() const {

Powered by Google App Engine
This is Rietveld 408576698