Chromium Code Reviews| Index: ui/base/l10n/l10n_font_util.h |
| =================================================================== |
| --- ui/base/l10n/l10n_font_util.h (revision 91577) |
| +++ ui/base/l10n/l10n_font_util.h (working copy) |
| @@ -6,6 +6,7 @@ |
| #define UI_BASE_L10N_FONT_UTIL_H_ |
| #pragma once |
| +#include "ui/ui_api.h" |
|
rvargas (doing something else)
2011/07/12 21:40:19
nit: goes after the next include.
|
| #include "ui/gfx/size.h" |
| namespace gfx { |
| @@ -18,13 +19,13 @@ |
| // its localized size data and the given font. The width in cols is held in a |
| // localized string resource identified by |col_resource_id|, the height in the |
| // same fashion. |
| -int GetLocalizedContentsWidthForFont(int col_resource_id, |
| - const gfx::Font& font); |
| -int GetLocalizedContentsHeightForFont(int row_resource_id, |
| - const gfx::Font& font); |
| -gfx::Size GetLocalizedContentsSizeForFont(int col_resource_id, |
| - int row_resource_id, |
| - const gfx::Font& font); |
| +UI_API int GetLocalizedContentsWidthForFont(int col_resource_id, |
| + const gfx::Font& font); |
| +UI_API int GetLocalizedContentsHeightForFont(int row_resource_id, |
| + const gfx::Font& font); |
| +UI_API gfx::Size GetLocalizedContentsSizeForFont(int col_resource_id, |
| + int row_resource_id, |
| + const gfx::Font& font); |
| } // namespace ui |