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 775f54d9815b039505f80e17a8266c9091a481d9..094d098e299b5c7a4d9569c5fbad0d282d2ef40b 100644 |
--- a/ui/views/window/dialog_client_view.cc |
+++ b/ui/views/window/dialog_client_view.cc |
@@ -108,6 +108,12 @@ void DialogClientView::UpdateDialogButtons() { |
InvalidateLayout(); |
} |
+void DialogClientView::SetButtonRowInsets(const gfx::Insets& insets) { |
+ button_row_insets_ = insets; |
+ if (GetWidget()) |
+ UpdateDialogButtons(); |
+} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
// DialogClientView, ClientView overrides: |