| Index: ui/views/window/dialog_delegate.cc
|
| diff --git a/ui/views/window/dialog_delegate.cc b/ui/views/window/dialog_delegate.cc
|
| index fd977cd937c355b53f9d48df75f27412effaa718..443d480f7b8cbb0ecdbc82af584e4544f37cb3b8 100644
|
| --- a/ui/views/window/dialog_delegate.cc
|
| +++ b/ui/views/window/dialog_delegate.cc
|
| @@ -129,6 +129,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;
|
| }
|
|
|