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

Unified Diff: chrome/browser/chromeos/login/user_controller.cc

Issue 5180002: Adjust default font sizes for new hand hinted fonts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: introduce CROS_HAND_HINTED_FONTS define, fix oobe/login buttons, dropdowns 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/chromeos/login/user_controller.cc
diff --git a/chrome/browser/chromeos/login/user_controller.cc b/chrome/browser/chromeos/login/user_controller.cc
index 11b011e81f28b24a869564eaeff1019499483ca2..463a7748bbe993b8a8646996b7708aaf7a839df7 100644
--- a/chrome/browser/chromeos/login/user_controller.cc
+++ b/chrome/browser/chromeos/login/user_controller.cc
@@ -47,10 +47,11 @@ const int kUserNameGap = 4;
// Approximate height of controls window, this constant is used in new user
// case to make border window size close to existing users.
+#if defined(CROS_HAND_HINTED_FONTS)
+const int kControlsHeight = 31;
+#else
const int kControlsHeight = 28;
-
-// Delta for the unselected username font.
-const int kUnselectedUsernameFontDelta = 1;
+#endif
// Widget that notifies window manager about clicking on itself.
// Doesn't send anything if user is selected.

Powered by Google App Engine
This is Rietveld 408576698