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

Unified Diff: Source/core/css/CSSFontFace.h

Issue 23446007: Use unicode-range to prevent unnecessary @font-face donwnloads (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/css/CSSFontFace.h
diff --git a/Source/core/css/CSSFontFace.h b/Source/core/css/CSSFontFace.h
index 1b40b34f2da2dc5fb1cc51a7d0d30e6621e6c6cf..21ab58a901c76373e6e4f3cb7671aa059f63699e 100644
--- a/Source/core/css/CSSFontFace.h
+++ b/Source/core/css/CSSFontFace.h
@@ -37,6 +37,7 @@ namespace WebCore {
class CSSSegmentedFontFace;
class FontDescription;
+class FontResource;
class SimpleFontData;
class CSSFontFace : public RefCounted<CSSFontFace> {
@@ -56,6 +57,7 @@ public:
void addSource(PassOwnPtr<CSSFontFaceSource>);
+ void beginLoadingFontSoon(FontResource*);
void fontLoaded(CSSFontFaceSource*);
PassRefPtr<SimpleFontData> getFontData(const FontDescription&, bool syntheticBold, bool syntheticItalic);

Powered by Google App Engine
This is Rietveld 408576698