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

Unified Diff: Source/core/rendering/RenderThemeChromiumFontProvider.h

Issue 205743004: Expand system font values during font property parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and fix up unittest use of systemFont() Created 6 years, 9 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: Source/core/rendering/RenderThemeChromiumFontProvider.h
diff --git a/Source/core/rendering/RenderThemeChromiumFontProvider.h b/Source/core/rendering/RenderThemeChromiumFontProvider.h
index f6ce1dfd361f60bc575fd830606877de7b434c58..9bea301fe1c5628c600489556b53bf9dcb237751 100644
--- a/Source/core/rendering/RenderThemeChromiumFontProvider.h
+++ b/Source/core/rendering/RenderThemeChromiumFontProvider.h
@@ -27,6 +27,7 @@
#define RenderThemeChromiumFontProvider_h
#include "CSSValueKeywords.h"
+#include "platform/fonts/FontTraits.h"
namespace WTF {
class String;
@@ -38,7 +39,7 @@ class FontDescription;
class RenderThemeChromiumFontProvider {
public:
- static void systemFont(CSSValueID, FontDescription&);
+ static void systemFont(CSSValueID systemFontID, FontStyle&, FontWeight&, float& fontSize, AtomicString& fontFamily);
static void setDefaultFontSize(int);
protected:
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumFontProviderLinux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698