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

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: - 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/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..661da5e77e3db94308d71f474a78b0d63cdb65c9 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_FONTS_USING_BCI)
+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.
« no previous file with comments | « chrome/browser/chromeos/login/network_selection_view.cc ('k') | chrome/browser/chromeos/status/clock_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698