summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-16 17:56:42 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-16 17:56:42 +0000
commit5af8527e5662edc372f7c4f075b88e550995b830 (patch)
tree2f7d679feb339caacfbc15df763999076a23f71c /chrome/browser/browser_process_impl.cc
parent9423825467052705598d7d95843ec20dc234b51f (diff)
downloadchromium_src-5af8527e5662edc372f7c4f075b88e550995b830.zip
chromium_src-5af8527e5662edc372f7c4f075b88e550995b830.tar.gz
chromium_src-5af8527e5662edc372f7c4f075b88e550995b830.tar.bz2
Find bar fixes:
* Center font vertically, instead of pushing down 1 px below centered. This looks better with the default font. In principle, perhaps I should have used the more complex "center the normal ascent of the font" algorithm I'm changing the omnibox to; but this seems "good enough" for now. * Remove unnecessary SetVerticalMargins() call and fix the horizontal margin values to be correct. Due to a bug in the textfield code, these horizontal margins are completely ignored today when there is no border, so this change will not be visible. However, once I fix the textfield code, this will make it so the text in the find bar has equal apparent padding on its left and right sides. This also shortens/cleans up some of the code (no other functional changes intended). BUG=none TEST=none R=finnur@chromium.org Review URL: https://codereview.chromium.org/14668015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
0 files changed, 0 insertions, 0 deletions