Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7102)

Unified Diff: ash/system/chromeos/session/logout_confirmation_dialog.h

Issue 1729723003: Reland: Remove DialogDelegate::OnClosed() which is redundant with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: with fix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/system/chromeos/session/logout_confirmation_dialog.h
diff --git a/ash/system/chromeos/session/logout_confirmation_dialog.h b/ash/system/chromeos/session/logout_confirmation_dialog.h
index 61407b10fa307b412e52daf1773379f78ad3b19a..d9d2c3d39b0afce235072473cf245864eaf98f03 100644
--- a/ash/system/chromeos/session/logout_confirmation_dialog.h
+++ b/ash/system/chromeos/session/logout_confirmation_dialog.h
@@ -30,13 +30,15 @@ class LogoutConfirmationDialog : public views::DialogDelegateView {
void Update(base::TimeTicks logout_time);
+ // Called when |controller_| is no longer valid.
+ void ControllerGone();
+
// views::DialogDelegateView:
bool Accept() override;
ui::ModalType GetModalType() const override;
base::string16 GetWindowTitle() const override;
base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
- void OnClosed() override;
- void DeleteDelegate() override;
+ void WindowClosing() override;
private:
void UpdateLabel();

Powered by Google App Engine
This is Rietveld 408576698