Chromium Code Reviews| Index: Source/core/css/CSSFontFace.h |
| diff --git a/Source/core/css/CSSFontFace.h b/Source/core/css/CSSFontFace.h |
| index 716c5a78b54e78f8d4e15d16ebe61639d71ccd07..21afc97374373fad1d06edeedb96ced677d7cb23 100644 |
| --- a/Source/core/css/CSSFontFace.h |
| +++ b/Source/core/css/CSSFontFace.h |
| @@ -97,6 +97,7 @@ public: |
| class UnicodeRangeSet { |
| public: |
| explicit UnicodeRangeSet(const Vector<UnicodeRange>&); |
| + bool contains(UChar32) const; |
| bool intersectsWith(const String&) const; |
| bool isEntireRange() const { return m_ranges.isEmpty(); } |
| size_t size() const { return m_ranges.size(); } |
| @@ -106,7 +107,7 @@ public: |
| }; |
| FontFace::LoadStatus loadStatus() const { return m_fontFace->loadStatus(); } |
| - void willUseFontData(const FontDescription&); |
| + bool willUseFontData(const FontDescription&, const String& text); |
|
dglazkov
2014/04/29 16:37:00
Might need to rename this into something that make
Kunihiko Sakamoto
2014/04/30 03:31:21
Renamed to maybeScheduleFontLoad.
|
| void load(const FontDescription&, CSSFontSelector* = 0); |
| bool hadBlankText() { return isValid() && m_sources.first()->hadBlankText(); } |