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

Unified Diff: ui/views/bubble/bubble_frame_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: ui/views/bubble/bubble_frame_view.cc
diff --git a/ui/views/bubble/bubble_frame_view.cc b/ui/views/bubble/bubble_frame_view.cc
index a8220bc7a0771f400516dfc07091f7e35abf86ca..6e8e498095bebf3f68a0bc60f91b9c820f729ea6 100644
--- a/ui/views/bubble/bubble_frame_view.cc
+++ b/ui/views/bubble/bubble_frame_view.cc
@@ -86,9 +86,7 @@ BubbleFrameView::BubbleFrameView(const gfx::Insets& title_margins,
close_button_clicked_(false) {
AddChildView(title_icon_);
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
- title_ = new Label(base::string16(),
- rb.GetFontListWithDelta(ui::kTitleFontSizeDelta));
+ title_ = new Label(base::string16(), style::CONTEXT_DIALOG_TITLE);
title_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
title_->set_collapse_when_hidden(true);
title_->SetVisible(false);

Powered by Google App Engine
This is Rietveld 408576698