Index: chrome/browser/chromeos/status/clock_menu_button.cc |
diff --git a/chrome/browser/chromeos/status/clock_menu_button.cc b/chrome/browser/chromeos/status/clock_menu_button.cc |
index 447be4314aef4dbac2a8ea4999fa5bbc7fd89133..93e44eb7c116c0bf97e5db66ab447e788508fdef 100644 |
--- a/chrome/browser/chromeos/status/clock_menu_button.cc |
+++ b/chrome/browser/chromeos/status/clock_menu_button.cc |
@@ -25,6 +25,12 @@ namespace chromeos { |
// when the timer goes off. |
const int kTimerSlopSeconds = 1; |
+#if defined(CROS_FONTS_USING_BCI) |
+const int kFontSizeDelta = 0; |
+#else |
+const int kFontSizeDelta = 1; |
+#endif |
+ |
ClockMenuButton::ClockMenuButton(StatusAreaHost* host) |
: StatusAreaButton(this), |
host_(host) { |
@@ -34,7 +40,7 @@ ClockMenuButton::ClockMenuButton(StatusAreaHost* host) |
set_border(NULL); |
set_use_menu_button_paint(true); |
SetFont(ResourceBundle::GetSharedInstance().GetFont( |
- ResourceBundle::BaseFont).DeriveFont(1)); |
+ ResourceBundle::BaseFont).DeriveFont(kFontSizeDelta)); |
SetEnabledColor(0xB3FFFFFF); // White with 70% Alpha |
SetShowMultipleIconStates(false); |
set_alignment(TextButton::ALIGN_CENTER); |