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

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

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: Rebase (conflict in layout_delegate.h due to r457774) Created 3 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 49f4932f626275c05a7e9fa1e94c3064b6b5b70a..a17a61830ec7ce39a757d434ff4572b3088532c9 100644
--- a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
+++ b/chrome/browser/ui/views/accessibility/invert_bubble_view.cc
@@ -82,9 +82,10 @@ void InvertBubbleView::Init() {
const gfx::FontList& original_font_list =
rb.GetFontList(ui::ResourceBundle::MediumFont);
+ // TODO(tapted): This should be using WidgetDelegate::GetWindowTitle().
views::Label* title = new views::Label(
- base::string16(),
- original_font_list.Derive(2, gfx::Font::NORMAL, gfx::Font::Weight::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));

Powered by Google App Engine
This is Rietveld 408576698