Index: ui/gfx/font_list.h |
diff --git a/ui/gfx/font_list.h b/ui/gfx/font_list.h |
index d070b5b588c2f63f834bc31c0f3dbac15f14d72e..1b0f97ed2945f07f04047785dc0789633be7e9fc 100644 |
--- a/ui/gfx/font_list.h |
+++ b/ui/gfx/font_list.h |
@@ -57,6 +57,14 @@ class UI_EXPORT FontList { |
// given font |size| in pixels. |
FontList DeriveFontListWithSize(int size) const; |
+ // Returns the height of this font list, which is max(ascent) + max(descent) |
+ // for all the fonts in the font list. |
+ int GetHeight() const; |
+ |
+ // Returns the baseline of this font list, which is max(baseline) for all the |
+ // fonts in the font list. |
+ int GetBaseline() const; |
+ |
// Returns the |gfx::Font::FontStyle| style flags for this font list. |
int GetFontStyle() const; |