Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / gfx / render_text.h
index d193f4d..af5ce30 100644 (file)
@@ -51,7 +51,9 @@ class SkiaTextRenderer {
   ~SkiaTextRenderer();
 
   void SetDrawLooper(SkDrawLooper* draw_looper);
-  void SetFontSmoothingSettings(bool enable_smoothing, bool enable_lcd_text);
+  void SetFontSmoothingSettings(bool antialiasing,
+                                bool subpixel_rendering,
+                                bool subpixel_positioning);
   void SetFontHinting(SkPaint::Hinting hinting);
   void SetTypeface(SkTypeface* typeface);
   void SetTextSize(SkScalar size);
@@ -172,9 +174,6 @@ class GFX_EXPORT RenderText {
   const FontList& font_list() const { return font_list_; }
   void SetFontList(const FontList& font_list);
 
-  // Set the font size to |size| in pixels.
-  void SetFontSize(int size);
-
   bool cursor_enabled() const { return cursor_enabled_; }
   void SetCursorEnabled(bool cursor_enabled);