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

Unified Diff: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc

Issue 1686433002: Remove DialogDelegate::OnClosed() which is redundant with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
diff --git a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
index 28a8fafd68a63d1fae1271e2a24069adeab960a1..cc9f3edec26d3092ac9cbcdffdacadc2c0aefc74 100644
--- a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
+++ b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
@@ -134,10 +134,6 @@ bool ProfileSigninConfirmationDialogViews::Cancel() {
return true;
}
-void ProfileSigninConfirmationDialogViews::OnClosed() {
- Cancel();
-}
-
ui::ModalType ProfileSigninConfirmationDialogViews::GetModalType() const {
return ui::MODAL_TYPE_WINDOW;
}
@@ -230,6 +226,10 @@ void ProfileSigninConfirmationDialogViews::ViewHierarchyChanged(
kPreferredWidth, explanation_label_->GetHeightForWidth(kPreferredWidth));
}
+void ProfileSigninConfirmationDialogViews::WindowClosing() {
+ Cancel();
+}
+
void ProfileSigninConfirmationDialogViews::StyledLabelLinkClicked(
views::StyledLabel* label,
const gfx::Range& range,

Powered by Google App Engine
This is Rietveld 408576698