Index: third_party/WebKit/Source/core/css/RemoteFontFaceSource.h |
diff --git a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h |
index fb76fee8c0b7fca48575fa6c930769f05f8be3b1..481230b1a3ca4eae40c217b8a0cb3b97ec8bf416 100644 |
--- a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h |
+++ b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h |
@@ -44,6 +44,9 @@ class RemoteFontFaceSource final : public CSSFontFaceSource, |
void notifyFinished(Resource*) override; |
void fontLoadShortLimitExceeded(FontResource*) override; |
void fontLoadLongLimitExceeded(FontResource*) override; |
+ |
+ void willReloadAfterDiskCacheMiss(const FontResource*) override; |
+ |
String debugName() const override { return "RemoteFontFaceSource"; } |
bool isBlank() override { return m_period == BlockPeriod; } |
@@ -101,9 +104,11 @@ class RemoteFontFaceSource final : public CSSFontFaceSource, |
DataSource m_dataSource; |
}; |
+ void didBecomeVisibleFallback(); |
void switchToSwapPeriod(); |
void switchToFailurePeriod(); |
bool shouldTriggerWebFontsIntervention(); |
+ bool shouldUseInvisibleFallback() const; |
Member<FontResource> m_font; |
Member<CSSFontSelector> m_fontSelector; |