| Index: chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc
|
| diff --git a/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc b/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc
|
| index f7826d672c02a38d34afed73b3ada84dd46237ea..91fed89fde87262fa2a855ca0744853e3f4e188d 100644
|
| --- a/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc
|
| +++ b/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc
|
| @@ -93,6 +93,11 @@ bool AccountChooserDialogView::ShouldShowCloseButton() const {
|
| return false;
|
| }
|
|
|
| +void AccountChooserDialogView::WindowClosing() {
|
| + if (controller_)
|
| + controller_->OnCloseDialog();
|
| +}
|
| +
|
| int AccountChooserDialogView::GetDialogButtons() const {
|
| return ui::DIALOG_BUTTON_CANCEL;
|
| }
|
| @@ -102,11 +107,6 @@ base::string16 AccountChooserDialogView::GetDialogButtonLabel(
|
| return l10n_util::GetStringUTF16(IDS_APP_CANCEL);
|
| }
|
|
|
| -void AccountChooserDialogView::OnClosed() {
|
| - if (controller_)
|
| - controller_->OnCloseDialog();
|
| -}
|
| -
|
| gfx::Size AccountChooserDialogView::GetPreferredSize() const {
|
| return gfx::Size(kDesiredWidth, GetHeightForWidth(kDesiredWidth));
|
| }
|
|
|