Chromium Code Reviews| Index: ui/gfx/font_list.h |
| diff --git a/ui/gfx/font_list.h b/ui/gfx/font_list.h |
| index 96398a1dcd0118781aa94d3caea4d35796955974..a145a9ce01cfbb11cf3cd42641da4948f40bdc29 100644 |
| --- a/ui/gfx/font_list.h |
| +++ b/ui/gfx/font_list.h |
| @@ -82,12 +82,12 @@ class GFX_EXPORT FontList { |
| int GetBaseline() const; |
| // Returns the number of horizontal pixels needed to display |text|. |
|
msw
2013/10/01 02:42:48
nit: s/number of pixels/pixel width/; ditto below.
jianli
2013/10/01 18:56:50
Done.
|
| - int GetStringWidth(const base::string16& text) const; |
| + float GetStringWidth(const base::string16& text) const; |
| // Returns the expected number of horizontal pixels needed to display the |
| // specified length of characters. Call GetStringWidth() to retrieve the |
| // actual number. |
| - int GetExpectedTextWidth(int length) const; |
| + float GetExpectedTextWidth(int length) const; |
| // Returns the |gfx::Font::FontStyle| style flags for this font list. |
| int GetFontStyle() const; |