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

Unified Diff: chrome/browser/ui/views/simple_message_box_views.cc

Issue 2896133002: Make profile error dialog checkbox opt-in and improve feedback description (Closed)
Patch Set: Created 3 years, 7 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/simple_message_box_views.cc
diff --git a/chrome/browser/ui/views/simple_message_box_views.cc b/chrome/browser/ui/views/simple_message_box_views.cc
index c9965a18d45eae979c85738aa3ed44fd067817a0..92c7789cbfd7ef4bbcc592c16fe8412bd1001ceb 100644
--- a/chrome/browser/ui/views/simple_message_box_views.cc
+++ b/chrome/browser/ui/views/simple_message_box_views.cc
@@ -106,10 +106,8 @@ SimpleMessageBoxViews::SimpleMessageBoxViews(
if (no_text_.empty() && type_ == MESSAGE_BOX_TYPE_QUESTION)
no_text_ = l10n_util::GetStringUTF16(IDS_CANCEL);
- if (!checkbox_text.empty()) {
+ if (!checkbox_text.empty())
message_box_view_->SetCheckBoxLabel(checkbox_text);
- message_box_view_->SetCheckBoxSelected(true);
- }
chrome::RecordDialogCreation(chrome::DialogIdentifier::SIMPLE_MESSAGE_BOX);
}
« chrome/app/generated_resources.grd ('K') | « chrome/browser/ui/profile_error_dialog.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698