| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 static PassRefPtrWillBeRawPtr<CSSFontSelector> create(Document* document) | 47 static PassRefPtrWillBeRawPtr<CSSFontSelector> create(Document* document) |
| 48 { | 48 { |
| 49 return adoptRefWillBeNoop(new CSSFontSelector(document)); | 49 return adoptRefWillBeNoop(new CSSFontSelector(document)); |
| 50 } | 50 } |
| 51 ~CSSFontSelector() override; | 51 ~CSSFontSelector() override; |
| 52 | 52 |
| 53 unsigned version() const override { return m_fontFaceCache.version(); } | 53 unsigned version() const override { return m_fontFaceCache.version(); } |
| 54 | 54 |
| 55 PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&
) override; | 55 PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&
) override; |
| 56 void willUseFontData(const FontDescription&, const AtomicString& family, UCh
ar32) override; | 56 void willUseFontData(const FontDescription&, const AtomicString& family, UCh
ar32) override; |
| 57 void willUseRange(const FontDescription&, const AtomicString& familyName, co
nst FontDataRange&) override; | 57 void willUseRange(const FontDescription&, const AtomicString& familyName, co
nst FontDataForRangeSet&) override; |
| 58 bool isPlatformFontAvailable(const FontDescription&, const AtomicString& fam
ily); | 58 bool isPlatformFontAvailable(const FontDescription&, const AtomicString& fam
ily); |
| 59 | 59 |
| 60 #if !ENABLE(OILPAN) | 60 #if !ENABLE(OILPAN) |
| 61 void clearDocument(); | 61 void clearDocument(); |
| 62 #endif | 62 #endif |
| 63 | 63 |
| 64 void fontFaceInvalidated(); | 64 void fontFaceInvalidated(); |
| 65 | 65 |
| 66 // FontCacheClient implementation | 66 // FontCacheClient implementation |
| 67 void fontCacheInvalidated() override; | 67 void fontCacheInvalidated() override; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 94 FontFaceCache m_fontFaceCache; | 94 FontFaceCache m_fontFaceCache; |
| 95 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSFontSelectorClient>> m_clients; | 95 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSFontSelectorClient>> m_clients; |
| 96 | 96 |
| 97 RefPtrWillBeMember<FontLoader> m_fontLoader; | 97 RefPtrWillBeMember<FontLoader> m_fontLoader; |
| 98 GenericFontFamilySettings m_genericFontFamilySettings; | 98 GenericFontFamilySettings m_genericFontFamilySettings; |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace blink | 101 } // namespace blink |
| 102 | 102 |
| 103 #endif // CSSFontSelector_h | 103 #endif // CSSFontSelector_h |
| OLD | NEW |