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

Unified Diff: chrome/browser/ui/views/page_info/website_settings_popup_view.cc

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: Rebase 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/page_info/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/page_info/website_settings_popup_view.cc b/chrome/browser/ui/views/page_info/website_settings_popup_view.cc
index dbfc2513b8df7830327f3125f99ab7c1adc8c539..f2d71eeea06a2d5377519538dd5883b0b32450b1 100644
--- a/chrome/browser/ui/views/page_info/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/page_info/website_settings_popup_view.cc
@@ -23,6 +23,7 @@
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/page_info/website_settings.h"
#include "chrome/browser/ui/views/collected_cookies_views.h"
+#include "chrome/browser/ui/views/harmony/chrome_typography.h"
#include "chrome/browser/ui/views/harmony/layout_delegate.h"
#include "chrome/browser/ui/views/page_info/chosen_object_row.h"
#include "chrome/browser/ui/views/page_info/non_accessible_image_view.h"
@@ -588,11 +589,9 @@ void WebsiteSettingsPopupView::SetCookieInfo(
// implemented. See https://crbug.com/512442#c48
views::GridLayout::LEADING);
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
- const gfx::FontList& font_list = rb.GetFontListWithDelta(1);
views::Label* cookies_label = new views::Label(
l10n_util::GetStringUTF16(IDS_WEBSITE_SETTINGS_TITLE_SITE_DATA),
- font_list);
+ CONTEXT_DIALOG_MESSAGE);
layout->AddView(cookies_label);
layout->StartRow(1, cookies_view_column);
layout->SkipColumns(1);

Powered by Google App Engine
This is Rietveld 408576698