summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/layout_theme_font_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/layout_theme_font_provider.h')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/layout_theme_font_provider.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/layout_theme_font_provider.h b/chromium/third_party/blink/renderer/core/layout/layout_theme_font_provider.h
index d76f8905dbf..32e472add6c 100644
--- a/chromium/third_party/blink/renderer/core/layout/layout_theme_font_provider.h
+++ b/chromium/third_party/blink/renderer/core/layout/layout_theme_font_provider.h
@@ -34,18 +34,21 @@
namespace blink {
+class Document;
+
class CORE_EXPORT LayoutThemeFontProvider {
STATIC_ONLY(LayoutThemeFontProvider);
public:
- static void SystemFont(CSSValueID system_font_id,
- FontSelectionValue& slope,
- FontSelectionValue& weight,
- float& font_size,
- AtomicString& font_family);
+ static const FontSelectionValue& SystemFontStyle(CSSValueID system_font_id);
+ static const FontSelectionValue& SystemFontWeight(CSSValueID system_font_id);
+ static const AtomicString& SystemFontFamily(CSSValueID system_font_id);
+ static float SystemFontSize(CSSValueID system_font_id,
+ const Document* document);
protected:
static const WTF::AtomicString& DefaultGUIFont();
+ static float DefaultFontSize(const Document*);
};
} // namespace blink