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

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

Issue 1314843009: Add DocumentTiming metrics for "time to first text paint" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « no previous file | Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontSelector.h
diff --git a/Source/core/css/CSSFontSelector.h b/Source/core/css/CSSFontSelector.h
index 1ef33994d7c1d8d2bd555c5f76fe134a8205a253..42fd66b45c54bf28928e4abcb59303af18b79f6a 100644
--- a/Source/core/css/CSSFontSelector.h
+++ b/Source/core/css/CSSFontSelector.h
@@ -50,10 +50,13 @@ public:
}
~CSSFontSelector() override;
+ // FontSelector implementation
unsigned version() const override { return m_fontFaceCache.version(); }
-
PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&) override;
void willUseFontData(const FontDescription&, const AtomicString& family, UChar32) override;
+ void reportFirstCustomFontText() override;
+ void reportFirstNonBlankText() override;
+
bool isPlatformFontAvailable(const FontDescription&, const AtomicString& family);
#if !ENABLE(OILPAN)
« no previous file with comments | « no previous file | Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698