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

Issue 2936533004: Provide vertical padding to the RenderTexts used in suggestions. (Closed)

Created:
3 years, 6 months ago by Justin Donnelly
Modified:
3 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, jdonnelly+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Provide vertical padding to the RenderTexts used in suggestions. Where possible, RenderText uses this additional space to vertically center the cap height of the font instead of centering the entire font. All vertical padding was taken away in http://crrev.com/467038 which caused a vertical alignment regression. This CL restores some padding in a way that still works with the goal of the earlier change (to have different spacing between multi-line suggestions than between suggestions). BUG=723984 Review-Url: https://codereview.chromium.org/2936533004 Cr-Commit-Position: refs/heads/master@{#480047} Committed: https://chromium.googlesource.com/chromium/src/+/c7b5ef1e2bd9deb076af700de566211e4cfa7628

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixes for answer image positioning and row height in the presence of an answer. #

Total comments: 2

Patch Set 3 : Respond to comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -16 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 2 9 chunks +25 lines, -16 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
Justin Donnelly
3 years, 6 months ago (2017-06-13 15:01:27 UTC) #6
Peter Kasting
LGTM https://codereview.chromium.org/2936533004/diff/1/chrome/browser/ui/views/omnibox/omnibox_result_view.cc File chrome/browser/ui/views/omnibox/omnibox_result_view.cc (right): https://codereview.chromium.org/2936533004/diff/1/chrome/browser/ui/views/omnibox/omnibox_result_view.cc#newcode54 chrome/browser/ui/views/omnibox/omnibox_result_view.cc:54: static const int kVerticalMargin = 1; So why ...
3 years, 6 months ago (2017-06-13 23:42:51 UTC) #7
Justin Donnelly
Thanks for the lgtm but I discovered and fixed a couple minor issues. Can you ...
3 years, 6 months ago (2017-06-15 18:56:54 UTC) #10
Peter Kasting
LGTM https://codereview.chromium.org/2936533004/diff/1/chrome/browser/ui/views/omnibox/omnibox_result_view.cc File chrome/browser/ui/views/omnibox/omnibox_result_view.cc (right): https://codereview.chromium.org/2936533004/diff/1/chrome/browser/ui/views/omnibox/omnibox_result_view.cc#newcode54 chrome/browser/ui/views/omnibox/omnibox_result_view.cc:54: static const int kVerticalMargin = 1; On 2017/06/15 ...
3 years, 6 months ago (2017-06-15 22:43:34 UTC) #13
Justin Donnelly
https://codereview.chromium.org/2936533004/diff/1/chrome/browser/ui/views/omnibox/omnibox_result_view.cc File chrome/browser/ui/views/omnibox/omnibox_result_view.cc (right): https://codereview.chromium.org/2936533004/diff/1/chrome/browser/ui/views/omnibox/omnibox_result_view.cc#newcode54 chrome/browser/ui/views/omnibox/omnibox_result_view.cc:54: static const int kVerticalMargin = 1; On 2017/06/15 22:43:34, ...
3 years, 6 months ago (2017-06-16 14:14:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2936533004/40001
3 years, 6 months ago (2017-06-16 14:15:05 UTC) #21
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 15:13:50 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c7b5ef1e2bd9deb076af700de566...

Powered by Google App Engine
This is Rietveld 408576698