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

Unified Diff: chrome/browser/ui/views/accessibility/invert_bubble_view.cc

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/accessibility/invert_bubble_view.cc
diff --git a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc b/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
index b6919ba05704fc0eeda9942d423054583cce49dd..741e7886bfb68721f0442d9282ca67f0519ccdb2 100644
--- a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
+++ b/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
@@ -78,7 +78,8 @@ void InvertBubbleView::Init() {
rb.GetFontList(ui::ResourceBundle::MediumFont);
views::Label* title = new views::Label(
- base::string16(), original_font_list.Derive(2, gfx::Font::BOLD));
+ base::string16(),
+ original_font_list.Derive(2, gfx::Font::NORMAL, gfx::Font::WEIGHT_BOLD));
tapted 2016/03/22 04:04:17 Maybe not for this CL, but this is a good example
title->SetMultiLine(true);
learn_more_ = new views::Link(l10n_util::GetStringUTF16(IDS_LEARN_MORE));

Powered by Google App Engine
This is Rietveld 408576698