| 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 8a08e2e34ae5301ad13bc4e8a90ec1c1da3a49fd..fe617ff101806703abec7c3214746b3f4b1d3e5e 100644
|
| --- a/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc
|
| +++ b/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc
|
| @@ -99,6 +99,11 @@ bool AccountChooserDialogView::ShouldShowCloseButton() const {
|
| return false;
|
| }
|
|
|
| +void AccountChooserDialogView::WindowClosing() {
|
| + if (controller_)
|
| + controller_->OnCloseDialog();
|
| +}
|
| +
|
| int AccountChooserDialogView::GetDialogButtons() const {
|
| return ui::DIALOG_BUTTON_CANCEL;
|
| }
|
| @@ -108,11 +113,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));
|
| }
|
|
|