Commit 1d2cc1e1 authored by Elly Fong-Jones's avatar Elly Fong-Jones Committed by Commit Bot

chromeos webui: remove DialogDelegate GetDialogButtons override

The override just restated the default, so take it out altogether.

Bug: 1011446
Change-Id: Iee89b0619d9e3c50f43e4c8ab6437d0f31a7f138
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2015666Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735544}
parent f7eb9101
......@@ -69,11 +69,6 @@ bool ConfirmSignoutDialog::Accept() {
return true;
}
int ConfirmSignoutDialog::GetDialogButtons() const {
return ui::DialogButton::DIALOG_BUTTON_OK |
ui::DialogButton::DIALOG_BUTTON_CANCEL;
}
// static
views::Widget* ConfirmSignoutDialog::current_instance_ = nullptr;
......
......@@ -28,7 +28,6 @@ class ConfirmSignoutDialog : public views::DialogDelegateView {
// views::DialogDelegate:
bool Accept() override;
int GetDialogButtons() const override;
static void Show();
static bool IsShowing();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment