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: rebase and add toSegmentedFontData() Created 7 years, 3 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 | « LayoutTests/fast/css/font-face-unicode-range-load-expected.txt ('k') | Source/core/css/CSSFontFace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontFace.h
diff --git a/Source/core/css/CSSFontFace.h b/Source/core/css/CSSFontFace.h
index 082211684143b510e5a7330aa2aee79c57a41f1f..7ada75e14f89e1311302559a0fe17af0f8447107 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;
// FIXME: Can this be a subclass of FontFace?
@@ -59,6 +60,7 @@ public:
void addSource(PassOwnPtr<CSSFontFaceSource>);
+ void beginLoadingFontSoon(FontResource*);
void fontLoaded(CSSFontFaceSource*);
PassRefPtr<SimpleFontData> getFontData(const FontDescription&, bool syntheticBold, bool syntheticItalic);
« no previous file with comments | « LayoutTests/fast/css/font-face-unicode-range-load-expected.txt ('k') | Source/core/css/CSSFontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698