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

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: Paint time metrics 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') | Source/core/css/CSSFontSelector.cpp » ('J')
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..99c3f32977da4d5a34315efb8986d1824bf50704 100644
--- a/Source/core/css/CSSFontSelector.h
+++ b/Source/core/css/CSSFontSelector.h
@@ -76,6 +76,7 @@ public:
const GenericFontFamilySettings& genericFontFamilySettings() const { return m_genericFontFamilySettings; }
void updateGenericFontFamilySettings(Document&);
+ void reportFirstNonBlankText(bool isCustomFont) override;
DECLARE_VIRTUAL_TRACE();
@@ -95,6 +96,8 @@ private:
RefPtrWillBeMember<FontLoader> m_fontLoader;
GenericFontFamilySettings m_genericFontFamilySettings;
+ bool m_firstNonBlankTextReported;
+ bool m_firstCustomFontTextReported;
};
} // namespace blink
« no previous file with comments | « no previous file | Source/core/css/CSSFontSelector.cpp » ('j') | Source/core/css/CSSFontSelector.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698