| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 } | 53 } |
| 54 | 54 |
| 55 PassRefPtr<FontData> getFontData(const FontDescription&, | 55 PassRefPtr<FontData> getFontData(const FontDescription&, |
| 56 const AtomicString&) override; | 56 const AtomicString&) override; |
| 57 void willUseFontData(const FontDescription&, | 57 void willUseFontData(const FontDescription&, |
| 58 const AtomicString& family, | 58 const AtomicString& family, |
| 59 const String& text) override; | 59 const String& text) override; |
| 60 void willUseRange(const FontDescription&, | 60 void willUseRange(const FontDescription&, |
| 61 const AtomicString& familyName, | 61 const AtomicString& familyName, |
| 62 const FontDataForRangeSet&) override; | 62 const FontDataForRangeSet&) override; |
| 63 bool isPlatformFontAvailable(const FontDescription&, | 63 bool isPlatformFamilyMatchAvailable(const FontDescription&, |
| 64 const AtomicString& family); | 64 const AtomicString& family); |
| 65 | 65 |
| 66 void fontFaceInvalidated(); | 66 void fontFaceInvalidated(); |
| 67 | 67 |
| 68 // FontCacheClient implementation | 68 // FontCacheClient implementation |
| 69 void fontCacheInvalidated() override; | 69 void fontCacheInvalidated() override; |
| 70 | 70 |
| 71 void registerForInvalidationCallbacks(CSSFontSelectorClient*); | 71 void registerForInvalidationCallbacks(CSSFontSelectorClient*); |
| 72 void unregisterForInvalidationCallbacks(CSSFontSelectorClient*); | 72 void unregisterForInvalidationCallbacks(CSSFontSelectorClient*); |
| 73 | 73 |
| 74 Document* document() const { return m_document; } | 74 Document* document() const { return m_document; } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 96 // currently leak because ComputedStyle and its data are not on the heap. | 96 // currently leak because ComputedStyle and its data are not on the heap. |
| 97 // See crbug.com/383860 for details. | 97 // See crbug.com/383860 for details. |
| 98 WeakMember<Document> m_document; | 98 WeakMember<Document> m_document; |
| 99 HeapHashSet<WeakMember<CSSFontSelectorClient>> m_clients; | 99 HeapHashSet<WeakMember<CSSFontSelectorClient>> m_clients; |
| 100 GenericFontFamilySettings m_genericFontFamilySettings; | 100 GenericFontFamilySettings m_genericFontFamilySettings; |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace blink | 103 } // namespace blink |
| 104 | 104 |
| 105 #endif // CSSFontSelector_h | 105 #endif // CSSFontSelector_h |
| OLD | NEW |