Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Unified Diff: ui/gfx/font_list_impl.h

Issue 382273002: ui/gfx: Allow for font-specific rendering settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: diff against https://codereview.chromium.org/387743002/ Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gfx/font_list_impl.h
diff --git a/ui/gfx/font_list_impl.h b/ui/gfx/font_list_impl.h
index 94bb33036abfa0cd576de8ef2ed287f0a127575c..6166a1a732578fb6125ee29f281f5a0492e31d65 100644
--- a/ui/gfx/font_list_impl.h
+++ b/ui/gfx/font_list_impl.h
@@ -13,6 +13,7 @@
namespace gfx {
class Font;
+struct FontRenderParams;
// FontListImpl is designed to provide the implementation of FontList and
// intended to be used only from FontList. You must not use this class
@@ -78,6 +79,9 @@ class FontListImpl : public base::RefCounted<FontListImpl> {
// Returns the font size in pixels.
int GetFontSize() const;
+ // Returns an object describing how the primary font should be rendered.
+ const FontRenderParams& GetFontRenderParams() const;
+
// Returns the Font vector.
const std::vector<Font>& GetFonts() const;

Powered by Google App Engine
This is Rietveld 408576698