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

Unified Diff: Source/platform/fonts/FontData.h

Issue 171823002: Make text visible when font loading takes longer than 3 seconds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 10 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/Font.cpp ('k') | Source/platform/fonts/FontFallbackList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontData.h
diff --git a/Source/platform/fonts/FontData.h b/Source/platform/fonts/FontData.h
index d32953002adadff11fb85dc84d60575e373db64b..fb4a65441cb3eb9c9d516b0b1d21d6f741dc31ca 100644
--- a/Source/platform/fonts/FontData.h
+++ b/Source/platform/fonts/FontData.h
@@ -54,6 +54,7 @@ public:
// Returns whether this is a temporary font data for a custom font which is not yet loaded.
virtual bool isLoadingFallback() const = 0;
virtual bool isSegmented() const = 0;
+ virtual bool shouldSkipDrawing() const = 0;
void setMaxGlyphPageTreeLevel(unsigned level) const { m_maxGlyphPageTreeLevel = level; }
unsigned maxGlyphPageTreeLevel() const { return m_maxGlyphPageTreeLevel; }
« no previous file with comments | « Source/platform/fonts/Font.cpp ('k') | Source/platform/fonts/FontFallbackList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698