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

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

Issue 230383003: Webfont CORS-enabled fetching with fallback (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add invalidator, retry only CORS failure Created 6 years, 8 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 | « no previous file | Source/core/css/CSSFontFace.cpp » ('j') | Source/core/css/CSSFontFaceSrcValue.cpp » ('J')
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 3fbbe86a9025e102574224c0c7b0cfc305bf14de..3dc47dcbeff711cba1231ebe21c2c47df8e35dab 100644
--- a/Source/core/css/CSSFontFace.h
+++ b/Source/core/css/CSSFontFace.h
@@ -65,6 +65,9 @@ public:
bool isValid() const { return !m_sources.isEmpty(); }
+ // FIXME: Should not be exposed (used by tentative CORS fallback code).
+ CSSFontSelector* fontSelector() const;
+
void addSource(PassOwnPtr<CSSFontFaceSource>);
void beginLoadIfNeeded(CSSFontFaceSource*, CSSFontSelector* = 0);
« no previous file with comments | « no previous file | Source/core/css/CSSFontFace.cpp » ('j') | Source/core/css/CSSFontFaceSrcValue.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698