Index: ui/gfx/font.h |
diff --git a/ui/gfx/font.h b/ui/gfx/font.h |
index 5ab0f170bda38a741aa7d8be1f87707339933893..b65423175b811c98c9cead7d7c21f52e67b97537 100644 |
--- a/ui/gfx/font.h |
+++ b/ui/gfx/font.h |
@@ -14,6 +14,7 @@ |
namespace gfx { |
+struct FontRenderParams; |
class PlatformFont; |
// Font provides a wrapper around an underlying font. Copy and assignment |
@@ -93,6 +94,9 @@ class GFX_EXPORT Font { |
// Returns the font size in pixels. |
int GetFontSize() const; |
+ // Returns an object describing how the font should be rendered. |
+ const FontRenderParams& GetFontRenderParams() const; |
+ |
// Returns the native font handle. |
// Lifetime lore: |
// Windows: This handle is owned by the Font object, and should not be |