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..e5b8a0b6f0de497bfccdbdb47bb02871a7b4abe8 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 (button_row_container_->has_children()) |
sky
2017/05/14 16:01:16
Why do you make this conditional on whether there
djacobo
2017/05/16 01:10:25
Initially I thought that not having an ok_button_
|
+ UpdateDialogButtons(); |
+} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
// DialogClientView, ClientView overrides: |