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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 private: | 78 private: |
79 CSSFontSelector(Document*); | 79 CSSFontSelector(Document*); |
80 | 80 |
81 void dispatchInvalidationCallbacks(); | 81 void dispatchInvalidationCallbacks(); |
82 | 82 |
83 void beginLoadTimerFired(Timer<CSSFontSelector>*); | 83 void beginLoadTimerFired(Timer<CSSFontSelector>*); |
84 | 84 |
85 Document* m_document; | 85 Document* m_document; |
86 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, WTF::FastAllocator, C
aseFoldingHash> m_fontFaces; | 86 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, WTF::FastAllocator, C
aseFoldingHash> m_fontFaces; |
87 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, WTF::FastAllocator, C
aseFoldingHash> m_locallyInstalledFontFaces; | 87 HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, WTF::FastAllocator, C
aseFoldingHash> m_locallyInstalledFontFaces; |
88 HashMap<String, OwnPtr<HashMap<unsigned, RefPtr<CSSSegmentedFontFace> > >, W
TF::FastAllocator, CaseFoldingHash> m_fonts; | 88 HashMap<String, OwnPtr<HashMap<unsigned, Persistent<CSSSegmentedFontFace> >
>, WTF::FastAllocator, CaseFoldingHash> m_fonts; |
89 HashSet<FontSelectorClient*> m_clients; | 89 HashSet<FontSelectorClient*> m_clients; |
90 | 90 |
91 Vector<CachedResourceHandle<CachedFont> > m_fontsToBeginLoading; | 91 Vector<CachedResourceHandle<CachedFont> > m_fontsToBeginLoading; |
92 Timer<CSSFontSelector> m_beginLoadingTimer; | 92 Timer<CSSFontSelector> m_beginLoadingTimer; |
93 | 93 |
94 unsigned m_version; | 94 unsigned m_version; |
95 }; | 95 }; |
96 | 96 |
97 } // namespace WebCore | 97 } // namespace WebCore |
98 | 98 |
99 #endif // CSSFontSelector_h | 99 #endif // CSSFontSelector_h |
OLD | NEW |