Index: ui/gfx/font_list.h |
diff --git a/ui/gfx/font_list.h b/ui/gfx/font_list.h |
index d8f5e72bb28ba9c173224814428681ffc2e72bc7..8c1d0f30bc5fe8934e1474157ac007a337381177 100644 |
--- a/ui/gfx/font_list.h |
+++ b/ui/gfx/font_list.h |
@@ -73,9 +73,15 @@ class UI_EXPORT FontList { |
// for the description. |
const std::string& GetFontDescriptionString() const; |
+ // Returns the font size in pixels. |
+ int GetFontSize() const; |
+ |
// Returns the Font vector. |
const std::vector<Font>& GetFonts() const; |
+ // Returns the first font in the list. |
+ const Font& GetPrimaryFont() const; |
+ |
private: |
// A vector of Font. If FontList is constructed with font description string, |
// |fonts_| is not initialized during construction. Instead, it is computed |