X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fgfx%2Fplatform_font.h;h=27f39b751a957710e39036592115644dfffefe02;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=bf470983e1250b06c79674bafbed18cda4dc132e;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/gfx/platform_font.h b/src/ui/gfx/platform_font.h index bf47098..27f39b7 100644 --- a/src/ui/gfx/platform_font.h +++ b/src/ui/gfx/platform_font.h @@ -45,13 +45,6 @@ class GFX_EXPORT PlatformFont : public base::RefCounted { // Returns the cap height of the font. virtual int GetCapHeight() const = 0; - // Returns the average character width for the font. - virtual int GetAverageCharacterWidth() const = 0; - - // Returns the number of horizontal pixels needed to display the specified - // string. - virtual int GetStringWidth(const base::string16& text) const = 0; - // Returns the expected number of horizontal pixels needed to display the // specified length of characters. Call GetStringWidth() to retrieve the // actual number.