Index: ui/gfx/platform_font.h |
diff --git a/ui/gfx/platform_font.h b/ui/gfx/platform_font.h |
index 27f39b751a957710e39036592115644dfffefe02..42f46ea1360248ce060ef98bdefe2a6dd734dc7d 100644 |
--- a/ui/gfx/platform_font.h |
+++ b/ui/gfx/platform_font.h |
@@ -15,6 +15,7 @@ |
namespace gfx { |
class Font; |
+struct FontRenderParams; |
class GFX_EXPORT PlatformFont : public base::RefCounted<PlatformFont> { |
public: |
@@ -62,6 +63,9 @@ class GFX_EXPORT PlatformFont : public base::RefCounted<PlatformFont> { |
// Returns the font size in pixels. |
virtual int GetFontSize() const = 0; |
+ // Returns an object describing how the font should be rendered. |
+ virtual const FontRenderParams& GetFontRenderParams() const = 0; |
+ |
// Returns the native font handle. |
virtual NativeFont GetNativeFont() const = 0; |