| Index: ui/views/window/dialog_delegate.cc
|
| diff --git a/ui/views/window/dialog_delegate.cc b/ui/views/window/dialog_delegate.cc
|
| index 6af25ee59accfbcb26ef5379fe67751d4fff6cef..d354353c5db90c32b7bd1c53d52e5c4e3b7d99d3 100644
|
| --- a/ui/views/window/dialog_delegate.cc
|
| +++ b/ui/views/window/dialog_delegate.cc
|
| @@ -132,6 +132,10 @@ void DialogDelegate::UpdateButton(LabelButton* button, ui::DialogButton type) {
|
| button->SetIsDefault(is_default);
|
| }
|
|
|
| +bool DialogDelegate::ShouldSnapFrameWidth() const {
|
| + return true;
|
| +}
|
| +
|
| int DialogDelegate::GetDialogButtons() const {
|
| return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL;
|
| }
|
|
|