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(); |