| Index: ui/gfx/platform_font_win.h
|
| ===================================================================
|
| --- ui/gfx/platform_font_win.h (revision 133692)
|
| +++ ui/gfx/platform_font_win.h (working copy)
|
| @@ -47,6 +47,13 @@
|
| // name could not be retrieved, returns GetFontName().
|
| std::string GetLocalizedFontName() const;
|
|
|
| + // Returns a derived Font with the specified |style| and with height at most
|
| + // |height|. If the height and style of the receiver already match, it is
|
| + // returned. Otherwise, the returned Font will have the largest size such that
|
| + // its height is less than or equal to |height| (since there may not exist a
|
| + // size that matches the exact |height| specified).
|
| + Font DeriveFontWithHeight(int height, int style);
|
| +
|
| // Overridden from PlatformFont:
|
| virtual Font DeriveFont(int size_delta, int style) const OVERRIDE;
|
| virtual int GetHeight() const OVERRIDE;
|
| @@ -75,6 +82,7 @@
|
| // This constructor takes control of the HFONT, and will delete it when
|
| // the HFontRef is deleted.
|
| HFontRef(HFONT hfont,
|
| + int font_size,
|
| int height,
|
| int baseline,
|
| int ave_char_width,
|
|
|