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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc

Issue 542823002: [Password Generation] Update text for generation popup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
index 3c836b24e1a3028e174fcf0a3de52de695e5a1be..ea8fa32cb4ca601c9cd37817f72308c9fe61cf1b 100644
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
@@ -133,9 +133,10 @@ PasswordGenerationPopupViewViews::PasswordGenerationPopupViewViews(
default_style.color = kExplanatoryTextColor;
help_label_->SetDefaultStyle(default_style);
- help_label_->AddStyleRange(
- controller_->HelpTextLinkRange(),
- views::StyledLabel::RangeStyleInfo::CreateForLink());
+ views::StyledLabel::RangeStyleInfo link_style =
+ views::StyledLabel::RangeStyleInfo::CreateForLink();
+ link_style.disable_line_wrapping = false;
+ help_label_->AddStyleRange(controller_->HelpTextLinkRange(), link_style);
help_label_->set_background(
views::Background::CreateSolidBackground(
« no previous file with comments | « chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698