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

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

Issue 1730893002: Revert of Remove DialogDelegate::OnClosed() which is redundant with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 cc9f3edec26d3092ac9cbcdffdacadc2c0aefc74..28a8fafd68a63d1fae1271e2a24069adeab960a1 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,6 +134,10 @@
return true;
}
+void ProfileSigninConfirmationDialogViews::OnClosed() {
+ Cancel();
+}
+
ui::ModalType ProfileSigninConfirmationDialogViews::GetModalType() const {
return ui::MODAL_TYPE_WINDOW;
}
@@ -226,10 +230,6 @@
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