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

Unified Diff: ui/views/window/dialog_client_view.cc

Issue 14895004: Fixing autocheckout progress bar repaint bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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/dialog_client_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view.cc
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc
index fdc6c53328c1c6aee130fcb98a518054c0cec555..e326aabc751006ca12b507616fc4b12fb8e1fc0b 100644
--- a/ui/views/window/dialog_client_view.cc
+++ b/ui/views/window/dialog_client_view.cc
@@ -338,6 +338,15 @@ void DialogClientView::CreateFootnoteView() {
AddChildView(footnote_view_);
}
+void DialogClientView::ChildPreferredSizeChanged(View* child) {
+ if (child == footnote_view_ || child == extra_view_)
+ Layout();
+}
+
+void DialogClientView::ChildVisibilityChanged(View* child) {
+ ChildPreferredSizeChanged(child);
+}
+
////////////////////////////////////////////////////////////////////////////////
// DialogClientView, private:
« no previous file with comments | « ui/views/window/dialog_client_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698