Index: chrome/browser/chromeos/login/helper.h |
diff --git a/chrome/browser/chromeos/login/helper.h b/chrome/browser/chromeos/login/helper.h |
index f69d3fcaa3d1fcbc4add2e57d3f670f4d2d98964..de65bcd205f727bc7f4c65799829df8c93af565a 100644 |
--- a/chrome/browser/chromeos/login/helper.h |
+++ b/chrome/browser/chromeos/login/helper.h |
@@ -41,7 +41,7 @@ views::Painter* CreateBackgroundPainter(); |
// |size| is not empty. Otherwise the whole monitor is occupied. |
gfx::Rect CalculateScreenBounds(const gfx::Size& size); |
-// Corrects font size for NativeButton control. |
+// Corrects font size for Label control. |
void CorrectLabelFontSize(views::Label* label); |
// Corrects font size for NativeButton control. |
@@ -106,8 +106,16 @@ class WideButton : public views::NativeButton { |
} // namespace login |
-// Font size correction in points for login/oobe textfields/buttons/title. |
+// Font size correction in points for login/oobe controls. |
+#if defined(CROS_FONTS_USING_BCI) |
+const int kFontSizeCorrectionDelta = 1; |
+const int kUnselectedUsernameFontDelta = 0; |
+const int kWelcomeTitleFontDelta = 5; |
+#else |
const int kFontSizeCorrectionDelta = 2; |
+const int kUnselectedUsernameFontDelta = 1; |
+const int kWelcomeTitleFontDelta = 5; |
+#endif |
// New pod sizes. |
const int kNewUserPodFullWidth = 372; |