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

Unified Diff: third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h

Issue 1429713004: Implement CSS font-display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: failure does not mean loaded Created 5 years, 1 month 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: third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
diff --git a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
index 25e259567ae083a732961dafe90c7de48d44bfb0..dba289f2bb820376975ce805c44da4981ea44188 100644
--- a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
+++ b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h
@@ -56,8 +56,9 @@ public:
CSSFontSelector* fontSelector() const { return m_fontSelector; }
FontTraits traits() const { return m_traits; }
- void fontLoaded(CSSFontFace*);
- void fontLoadWaitLimitExceeded(CSSFontFace*);
+ // Called when status of a FontFace has changed (e.g. loaded or timed out)
+ // so cached FontData must be discarded.
+ void fontFaceInvalidated();
void addFontFace(PassRefPtrWillBeRawPtr<FontFace>, bool cssConnected);
void removeFontFace(PassRefPtrWillBeRawPtr<FontFace>);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.in ('k') | third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698