Commit 09afc263 authored by Elly Fong-Jones's avatar Elly Fong-Jones Committed by Commit Bot

views: increase font size on collected cookies top labels

These are meant to be 13pt, not 12pt.

Bug: 610428
Change-Id: I3718197e67e2eef26611572dfcbfdb40ffcce405
Reviewed-on: https://chromium-review.googlesource.com/746367
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Reviewed-by: default avatarBret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512908}
parent 7b88e3eb
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "chrome/browser/ui/collected_cookies_infobar_delegate.h" #include "chrome/browser/ui/collected_cookies_infobar_delegate.h"
#include "chrome/browser/ui/views/cookie_info_view.h" #include "chrome/browser/ui/views/cookie_info_view.h"
#include "chrome/browser/ui/views/harmony/chrome_layout_provider.h" #include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
#include "chrome/browser/ui/views/harmony/chrome_typography.h"
#include "chrome/common/pref_names.h" #include "chrome/common/pref_names.h"
#include "chrome/grit/generated_resources.h" #include "chrome/grit/generated_resources.h"
#include "components/constrained_window/constrained_window_views.h" #include "components/constrained_window/constrained_window_views.h"
...@@ -408,8 +409,9 @@ views::View* CollectedCookiesViews::CreateAllowedPane() { ...@@ -408,8 +409,9 @@ views::View* CollectedCookiesViews::CreateAllowedPane() {
TabSpecificContentSettings::FromWebContents(web_contents_); TabSpecificContentSettings::FromWebContents(web_contents_);
// Create the controls that go into the pane. // Create the controls that go into the pane.
allowed_label_ = new views::Label(l10n_util::GetStringUTF16( allowed_label_ = new views::Label(
IDS_COLLECTED_COOKIES_ALLOWED_COOKIES_LABEL)); l10n_util::GetStringUTF16(IDS_COLLECTED_COOKIES_ALLOWED_COOKIES_LABEL),
CONTEXT_BODY_TEXT_LARGE);
allowed_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); allowed_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
allowed_cookies_tree_model_ = allowed_cookies_tree_model_ =
...@@ -479,9 +481,10 @@ views::View* CollectedCookiesViews::CreateBlockedPane() { ...@@ -479,9 +481,10 @@ views::View* CollectedCookiesViews::CreateBlockedPane() {
// Create the controls that go into the pane. // Create the controls that go into the pane.
blocked_label_ = new views::Label( blocked_label_ = new views::Label(
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
prefs->GetBoolean(prefs::kBlockThirdPartyCookies) ? prefs->GetBoolean(prefs::kBlockThirdPartyCookies)
IDS_COLLECTED_COOKIES_BLOCKED_THIRD_PARTY_BLOCKING_ENABLED : ? IDS_COLLECTED_COOKIES_BLOCKED_THIRD_PARTY_BLOCKING_ENABLED
IDS_COLLECTED_COOKIES_BLOCKED_COOKIES_LABEL)); : IDS_COLLECTED_COOKIES_BLOCKED_COOKIES_LABEL),
CONTEXT_BODY_TEXT_LARGE);
blocked_label_->SetMultiLine(true); blocked_label_->SetMultiLine(true);
blocked_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); blocked_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
blocked_label_->SizeToFit(kTreeViewWidth); blocked_label_->SizeToFit(kTreeViewWidth);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment