diff options
Diffstat (limited to 'chromium/ui/base/l10n/l10n_font_util.h')
-rw-r--r-- | chromium/ui/base/l10n/l10n_font_util.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/chromium/ui/base/l10n/l10n_font_util.h b/chromium/ui/base/l10n/l10n_font_util.h index 81dffd348f1..979be47f05d 100644 --- a/chromium/ui/base/l10n/l10n_font_util.h +++ b/chromium/ui/base/l10n/l10n_font_util.h @@ -9,7 +9,7 @@ #include "ui/gfx/geometry/size.h" namespace gfx { -class Font; +class FontList; } namespace ui { @@ -19,15 +19,11 @@ namespace ui { // localized string resource identified by |col_resource_id|, the height in the // same fashion. COMPONENT_EXPORT(UI_BASE) -int GetLocalizedContentsWidthForFont(int col_resource_id, - const gfx::Font& font); +int GetLocalizedContentsWidthForFontList(int col_resource_id, + const gfx::FontList& font_list); COMPONENT_EXPORT(UI_BASE) -int GetLocalizedContentsHeightForFont(int row_resource_id, - const gfx::Font& font); -COMPONENT_EXPORT(UI_BASE) -gfx::Size GetLocalizedContentsSizeForFont(int col_resource_id, - int row_resource_id, - const gfx::Font& font); +int GetLocalizedContentsHeightForFontList(int row_resource_id, + const gfx::FontList& font_list); } // namespace ui |