| 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..59588913c0b4593bc21b5226272f310ae39c9565 100644
|
| --- a/chrome/browser/chromeos/login/helper.h
|
| +++ b/chrome/browser/chromeos/login/helper.h
|
| @@ -20,6 +20,7 @@ class Size;
|
|
|
| namespace views {
|
| class Label;
|
| +class MenuButton;
|
| class Painter;
|
| class Textfield;
|
| class Throbber;
|
| @@ -41,9 +42,12 @@ 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 MenuButton control.
|
| +void CorrectMenuButtonFontSize(views::MenuButton* button);
|
| +
|
| // Corrects font size for NativeButton control.
|
| void CorrectNativeButtonFontSize(views::NativeButton* button);
|
|
|
| @@ -106,8 +110,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_HAND_HINTED_FONTS)
|
| +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;
|
|
|