| Index: ui/gfx/linux_font_delegate.h
|
| diff --git a/ui/gfx/linux_font_delegate.h b/ui/gfx/linux_font_delegate.h
|
| index cfb23384308a049f18b8424bb551fee003dbd1fb..6626c27d8cb4583a8ef34d569323fc28adb818aa 100644
|
| --- a/ui/gfx/linux_font_delegate.h
|
| +++ b/ui/gfx/linux_font_delegate.h
|
| @@ -42,6 +42,10 @@ class GFX_EXPORT LinuxFontDelegate {
|
| // Returns the Pango description for the default UI font. The format matches
|
| // that returned by pango_font_description_to_string().
|
| virtual std::string GetDefaultFontDescription() const = 0;
|
| +
|
| + // Returns the resolution (as pixels-per-inch) that should be used to convert
|
| + // font sizes between points and pixels. -1 is returned if the DPI is unset.
|
| + virtual double GetFontDPI() const = 0;
|
| };
|
|
|
| } // namespace gfx
|
|
|