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

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: Add a lost comment and modify a render text unittest to not test black because of test env font con… Created 4 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/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 1afa5e76794389c9cf5d965877ecf3701b6e05b4..73d30232827230675a831544742ad439e18efe80 100644
--- a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
+++ b/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
@@ -83,7 +83,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));
title->SetMultiLine(true);
learn_more_ = new views::Link(l10n_util::GetStringUTF16(IDS_LEARN_MORE));
« no previous file with comments | « chrome/browser/ui/libgtk2ui/gtk2_ui.cc ('k') | chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698