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

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

Issue 144073004: rAc: remove bold section labels on linux_aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ui::ResourceBundle::BoldOnlyIfItLooksGood() Created 6 years, 11 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/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 912711f861bd673a79299d9356e35503bd66503a..b2ed88efc021e3a064bfc358114cbe2fb5aadae4 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -790,7 +790,7 @@ bool AutofillDialogViews::NotificationArea::HasArrow() {
// AutofillDialogViews::SectionContainer ---------------------------------------
AutofillDialogViews::SectionContainer::SectionContainer(
- const base::string16& label,
+ const SectionLabel& label,
views::View* controls,
views::Button* proxy_button)
: proxy_button_(proxy_button),
@@ -804,7 +804,7 @@ AutofillDialogViews::SectionContainer::SectionContainer(
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
views::Label* label_view = new views::Label(
- label, rb.GetFontList(ui::ResourceBundle::BoldFont));
+ label.text, rb.GetFontList(label.font));
label_view->SetHorizontalAlignment(gfx::ALIGN_LEFT);
views::View* label_bar = new views::View();

Powered by Google App Engine
This is Rietveld 408576698