Index: ui/gfx/font_list.h |
diff --git a/ui/gfx/font_list.h b/ui/gfx/font_list.h |
index 1ba8ad1aff9f0511bcf3c17421f15655766e14f1..503371d7f75c7b2c1a313571edfaee7f19e27b15 100644 |
--- a/ui/gfx/font_list.h |
+++ b/ui/gfx/font_list.h |
@@ -15,6 +15,7 @@ |
namespace gfx { |
class FontListImpl; |
+struct FontRenderParams; |
// FontList represents a list of fonts and provides metrics which are common |
// in the fonts. FontList is copyable and it's quite cheap to copy. |
@@ -111,6 +112,9 @@ class GFX_EXPORT FontList { |
// Returns the font size in pixels. |
int GetFontSize() const; |
+ // Returns an object describing how the primary font should be rendered. |
msw
2014/07/12 00:27:31
Can we avoid this? I'd rather users explicitly cal
Daniel Erat
2014/07/12 01:55:32
sure, i just did this to match the style of the re
msw
2014/07/12 02:26:40
Yeah, it's a gray area, but good to avoid non-obvi
|
+ const FontRenderParams& GetFontRenderParams() const; |
+ |
// Returns the Font vector. |
const std::vector<Font>& GetFonts() const; |