summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 18:08:18 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 18:08:18 +0000
commit7f1f8e39214e49ea62c3038f886b4df540aadb42 (patch)
tree9d10c59a5b01756f58a9e84ee11ce98a0814adba /chrome/browser/views
parent89306863d98635acbc50c8e0ec50ebd636c096d0 (diff)
downloadchromium_src-7f1f8e39214e49ea62c3038f886b4df540aadb42.zip
chromium_src-7f1f8e39214e49ea62c3038f886b4df540aadb42.tar.gz
chromium_src-7f1f8e39214e49ea62c3038f886b4df540aadb42.tar.bz2
Adjusts font sizes to be readable on Chrome OS.
BUG=none TEST=none Review URL: http://codereview.chromium.org/434010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc b/chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc
index 5ed809e..9f0097e 100644
--- a/chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc
+++ b/chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc
@@ -98,7 +98,12 @@ const int kRowRightPadding = 3;
const int kIconTextSpacing = 9;
// The size delta between the font used for the edit and the result rows. Passed
// to gfx::Font::DeriveFont.
+#if !defined(OS_CHROMEOS)
const int kEditFontAdjust = -1;
+#else
+// Don't adjust font on chromeos as it becomes too small.
+const int kEditFontAdjust = 0;
+#endif
}