| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file contains helper functions used by Chromium OS login. | 5 // This file contains helper functions used by Chromium OS login. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ |
| 8 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ | 8 #define CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // See rounded_rect_painter.cc for border definitions. | 75 // See rounded_rect_painter.cc for border definitions. |
| 76 const int kWizardScreenWidth = 800; | 76 const int kWizardScreenWidth = 800; |
| 77 const int kWizardScreenHeight = 450; | 77 const int kWizardScreenHeight = 450; |
| 78 | 78 |
| 79 const int kScreenCornerRadius = 10; | 79 const int kScreenCornerRadius = 10; |
| 80 const int kUserCornerRadius = 6; | 80 const int kUserCornerRadius = 6; |
| 81 | 81 |
| 82 } // namespace login | 82 } // namespace login |
| 83 | 83 |
| 84 // Font size correction in pixels for login/oobe controls. | 84 // Font size correction in pixels for login/oobe controls. |
| 85 #if defined(CROS_FONTS_USING_BCI) | |
| 86 const int kFontSizeCorrectionDelta = 1; | |
| 87 const int kNetworkSelectionLabelFontDelta = 1; | |
| 88 const int kSelectedUsernameFontDelta = 1; | |
| 89 const int kUnselectedUsernameFontDelta = 1; | |
| 90 const int kWelcomeTitleFontDelta = 8; | |
| 91 const int kLoginTitleFontDelta = 3; | |
| 92 #else | |
| 93 const int kFontSizeCorrectionDelta = 2; | 85 const int kFontSizeCorrectionDelta = 2; |
| 94 const int kNetworkSelectionLabelFontDelta = 1; | 86 const int kNetworkSelectionLabelFontDelta = 1; |
| 95 const int kSelectedUsernameFontDelta = 1; | 87 const int kSelectedUsernameFontDelta = 1; |
| 96 const int kUnselectedUsernameFontDelta = 2; | 88 const int kUnselectedUsernameFontDelta = 2; |
| 97 const int kWelcomeTitleFontDelta = 9; | 89 const int kWelcomeTitleFontDelta = 9; |
| 98 const int kLoginTitleFontDelta = 4; | 90 const int kLoginTitleFontDelta = 4; |
| 99 #endif | |
| 100 | 91 |
| 101 } // namespace chromeos | 92 } // namespace chromeos |
| 102 | 93 |
| 103 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ | 94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HELPER_H_ |
| OLD | NEW |