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

Unified Diff: ui/gfx/platform_font_pango.h

Issue 400193004: Unify desktop Linux and Chrome OS font rendering params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use initializer list 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
« no previous file with comments | « ui/gfx/pango_util.h ('k') | ui/gfx/platform_font_pango.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/platform_font_pango.h
diff --git a/ui/gfx/platform_font_pango.h b/ui/gfx/platform_font_pango.h
index d0132eb8ac34685b182a3dd9f7058b329932a1cc..3a494389c139a51babb39da06cc2a92b3b808008 100644
--- a/ui/gfx/platform_font_pango.h
+++ b/ui/gfx/platform_font_pango.h
@@ -35,7 +35,8 @@ class GFX_EXPORT PlatformFontPango : public PlatformFont {
static void ReloadDefaultFont();
#if defined(OS_CHROMEOS)
- // Sets the default font.
+ // Sets the default font. |font_description| is a Pango font description that
+ // will be passed to pango_font_description_from_string().
static void SetDefaultFontDescription(const std::string& font_description);
#endif
@@ -120,6 +121,7 @@ class GFX_EXPORT PlatformFontPango : public PlatformFont {
static Font* default_font_;
#if defined(OS_CHROMEOS)
+ // A Pango font description.
static std::string* default_font_description_;
#endif
« no previous file with comments | « ui/gfx/pango_util.h ('k') | ui/gfx/platform_font_pango.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698