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

Issue 1306173002: Set font size to 14 in location bar for material design (Closed)

Created:
5 years, 4 months ago by tdanderson
Modified:
5 years, 3 months ago
Reviewers:
jonross, Nico, Peter Kasting
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set font size to 14 in location bar for material design Move the constant specifying the desired font size for the toolbar view into ThemeProperties and specify a size of 14 for the two variants of material design. Also decreased the constant used for minimum vertical padding in the location bar in order to give the text sufficient space. BUG=522590 TEST=manual Committed: https://crrev.com/f722fd76578be9b3ef4bd079e7cae1b65754d30b Cr-Commit-Position: refs/heads/master@{#349670}

Patch Set 1 #

Total comments: 3

Patch Set 2 : remove constant #

Patch Set 3 : smaller change #

Patch Set 4 : use GetLayoutConstant() #

Patch Set 5 : padding #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M chrome/browser/defaults.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/defaults.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/layout_constants.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/layout_constants.cc View 1 2 3 4 2 chunks +4 lines, -1 line 2 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 39 (10 generated)
tdanderson
Jon, mind taking an informal first glance?
5 years, 4 months ago (2015-08-21 14:40:37 UTC) #2
jonross
https://codereview.chromium.org/1306173002/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/1306173002/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode226 chrome/browser/ui/views/location_bar/location_bar_view.cc:226: location_height - bubble_vertical_padding)); Do we intend to have the ...
5 years, 4 months ago (2015-08-21 14:44:14 UTC) #3
tdanderson
On 2015/08/21 14:44:14, jonross wrote: > https://codereview.chromium.org/1306173002/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc > File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): > > https://codereview.chromium.org/1306173002/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode226 > ...
5 years, 4 months ago (2015-08-21 14:46:27 UTC) #4
jonross
On 2015/08/21 14:46:27, tdanderson wrote: > On 2015/08/21 14:44:14, jonross wrote: > > > https://codereview.chromium.org/1306173002/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc ...
5 years, 4 months ago (2015-08-21 15:15:25 UTC) #5
tdanderson
Peter, can you please take a look? Have a look at comment #7 in crbug.com/522590 ...
5 years, 4 months ago (2015-08-21 15:25:55 UTC) #7
Peter Kasting
It worries me that your description says the internal padding is used for bubbles, but ...
5 years, 4 months ago (2015-08-21 17:14:36 UTC) #8
tdanderson
The hard constraints of the MD spec are: * The location bar must have a ...
5 years, 4 months ago (2015-08-21 18:17:24 UTC) #9
Peter Kasting
On 2015/08/21 18:17:24, tdanderson wrote: > The hard constraints of the MD spec are: > ...
5 years, 4 months ago (2015-08-21 18:25:26 UTC) #10
tdanderson
On 2015/08/21 18:25:26, Peter Kasting wrote: > On 2015/08/21 18:17:24, tdanderson wrote: > > The ...
5 years, 4 months ago (2015-08-21 21:57:50 UTC) #11
Peter Kasting
LGTM
5 years, 4 months ago (2015-08-21 21:58:20 UTC) #12
tdanderson
Nico, can you please take a look?
5 years, 4 months ago (2015-08-21 22:01:46 UTC) #14
Nico
rs-lgtm
5 years, 4 months ago (2015-08-21 22:14:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306173002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306173002/40001
5 years, 4 months ago (2015-08-24 13:24:28 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/94072)
5 years, 4 months ago (2015-08-24 14:41:04 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306173002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306173002/40001
5 years, 4 months ago (2015-08-24 14:45:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/94103)
5 years, 4 months ago (2015-08-24 15:48:51 UTC) #24
tdanderson
On 2015/08/24 15:48:51, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 4 months ago (2015-08-24 19:16:02 UTC) #25
tdanderson
On 2015/08/24 19:16:02, tdanderson wrote: > On 2015/08/24 15:48:51, commit-bot: I haz the power wrote: ...
5 years, 4 months ago (2015-08-24 19:17:33 UTC) #26
Peter Kasting
On 2015/08/24 19:16:02, tdanderson wrote: > On 2015/08/24 15:48:51, commit-bot: I haz the power wrote: ...
5 years, 4 months ago (2015-08-24 20:27:49 UTC) #27
jonross
On 2015/08/24 20:27:49, Peter Kasting wrote: > On 2015/08/24 19:16:02, tdanderson wrote: > > On ...
5 years, 4 months ago (2015-08-24 20:36:30 UTC) #28
Peter Kasting
On 2015/08/24 20:36:30, jonross wrote: > On 2015/08/24 20:27:49, Peter Kasting wrote: > > On ...
5 years, 4 months ago (2015-08-24 20:38:03 UTC) #29
tdanderson
On 2015/08/24 20:38:03, Peter Kasting wrote: > On 2015/08/24 20:36:30, jonross wrote: > > On ...
5 years, 4 months ago (2015-08-24 21:32:00 UTC) #30
jonross
On 2015/08/24 21:32:00, tdanderson wrote: > On 2015/08/24 20:38:03, Peter Kasting wrote: > > On ...
5 years, 3 months ago (2015-09-01 18:25:15 UTC) #31
tdanderson
Peter, please take a look.
5 years, 3 months ago (2015-09-16 14:43:48 UTC) #32
Peter Kasting
LGTM https://chromiumcodereview.appspot.com/1306173002/diff/80001/chrome/browser/ui/views/layout_constants.cc File chrome/browser/ui/views/layout_constants.cc (right): https://chromiumcodereview.appspot.com/1306173002/diff/80001/chrome/browser/ui/views/layout_constants.cc#newcode16 chrome/browser/ui/views/layout_constants.cc:16: const int kLocationBarVerticalPadding[] = {2, 2, 2}; You ...
5 years, 3 months ago (2015-09-16 23:22:12 UTC) #33
tdanderson
https://chromiumcodereview.appspot.com/1306173002/diff/80001/chrome/browser/ui/views/layout_constants.cc File chrome/browser/ui/views/layout_constants.cc (right): https://chromiumcodereview.appspot.com/1306173002/diff/80001/chrome/browser/ui/views/layout_constants.cc#newcode16 chrome/browser/ui/views/layout_constants.cc:16: const int kLocationBarVerticalPadding[] = {2, 2, 2}; On 2015/09/16 ...
5 years, 3 months ago (2015-09-18 14:23:47 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306173002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306173002/80001
5 years, 3 months ago (2015-09-18 14:24:24 UTC) #37
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 3 months ago (2015-09-18 15:04:48 UTC) #38
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 15:05:29 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f722fd76578be9b3ef4bd079e7cae1b65754d30b
Cr-Commit-Position: refs/heads/master@{#349670}

Powered by Google App Engine
This is Rietveld 408576698