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

Unified Diff: Source/platform/fonts/FontSelector.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 | « Source/platform/fonts/FontFallbackList.cpp ('k') | Source/web/WebPerformance.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontSelector.h
diff --git a/Source/platform/fonts/FontSelector.h b/Source/platform/fonts/FontSelector.h
index 8bd8c8686de4f045eb9d031abd477d5483aa98a5..95e52dbec5c400f13fac3da27b9eed21d2517f43 100644
--- a/Source/platform/fonts/FontSelector.h
+++ b/Source/platform/fonts/FontSelector.h
@@ -42,6 +42,8 @@ public:
virtual ~FontSelector() { }
virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString& familyName) = 0;
virtual void willUseFontData(const FontDescription&, const AtomicString& familyName, UChar32) = 0;
+ virtual void reportFirstCustomFontText() { }
+ virtual void reportFirstNonBlankText() { }
virtual unsigned version() const = 0;
};
« no previous file with comments | « Source/platform/fonts/FontFallbackList.cpp ('k') | Source/web/WebPerformance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698