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

Unified Diff: chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc

Issue 5180002: Adjust default font sizes for new hand hinted fonts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - textbutton header Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
index 02e0a7ab56d59e57b89a03e3b5c4c6a51d9dfe1e..2f808dd93126576d091cef879a2bd3f25365377a 100644
--- a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
+++ b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
@@ -121,11 +121,11 @@ const int kIconVerticalPadding = 2;
const int kTextVerticalPadding = 3;
// 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
+#if defined(OS_CHROMEOS) && !defined(CROS_FONTS_USING_BCI)
// Don't adjust font on chromeos as it becomes too small.
const int kEditFontAdjust = 0;
+#else
+const int kEditFontAdjust = -1;
#endif
// Horizontal padding between the buttons on the opt in promo.

Powered by Google App Engine
This is Rietveld 408576698