summaryrefslogtreecommitdiffstats
path: root/chrome/browser/defaults.cc
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 19:10:02 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 19:10:02 +0000
commit29d0b3ee7ecc0d573b52ec73a6c8820a7508101e (patch)
tree190f3dbf16bac99348b0cd6b07b0712f4d3aae92 /chrome/browser/defaults.cc
parent8527cf87d6b7c4bebb5dd7e23d9e8795aad5ac5c (diff)
downloadchromium_src-29d0b3ee7ecc0d573b52ec73a6c8820a7508101e.zip
chromium_src-29d0b3ee7ecc0d573b52ec73a6c8820a7508101e.tar.gz
chromium_src-29d0b3ee7ecc0d573b52ec73a6c8820a7508101e.tar.bz2
chromeos: Increase omnibox font size.
This change makes it two points larger than the popup and tab text. I am hesitant to make a similar change to the GTK version, at least in this change, since there have already been a bunch of omnibox-font-sizing problems there. BUG=50568 TEST=built and tried it Review URL: http://codereview.chromium.org/3181023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/defaults.cc')
-rw-r--r--chrome/browser/defaults.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/defaults.cc b/chrome/browser/defaults.cc
index dc33347..f985c5f 100644
--- a/chrome/browser/defaults.cc
+++ b/chrome/browser/defaults.cc
@@ -8,8 +8,10 @@ namespace browser_defaults {
#if defined(OS_CHROMEOS)
-const double kAutocompleteEditFontPixelSize = 12.0;
-const double kAutocompleteEditFontPixelSizeInPopup = 10;
+// Make the regular omnibox text two points larger than the nine-point font
+// used in the tab strip (11pt / 72pt/in * 96px/in = 14.667px).
+const double kAutocompleteEditFontPixelSize = 14.7;
+const double kAutocompleteEditFontPixelSizeInPopup = 10.0;
// This is only used by AutocompletePopupViewGtk which is unused
// unless TOOLKIT_VIEWS is undefined: