OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 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 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef CSSSegmentedFontFace_h | 26 #ifndef CSSSegmentedFontFace_h |
27 #define CSSSegmentedFontFace_h | 27 #define CSSSegmentedFontFace_h |
28 | 28 |
29 #include "platform/fonts/FontTraits.h" | 29 #include "platform/fonts/FontTraits.h" |
30 #include "platform/fonts/SegmentedFontData.h" | 30 #include "platform/fonts/SegmentedFontData.h" |
31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
| 32 #include "wtf/Forward.h" |
32 #include "wtf/HashMap.h" | 33 #include "wtf/HashMap.h" |
33 #include "wtf/ListHashSet.h" | 34 #include "wtf/ListHashSet.h" |
34 #include "wtf/PassRefPtr.h" | |
35 #include "wtf/RefCounted.h" | |
36 #include "wtf/Vector.h" | 35 #include "wtf/Vector.h" |
37 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
38 | 37 |
39 namespace blink { | 38 namespace blink { |
40 | 39 |
41 class CSSFontFace; | 40 class CSSFontFace; |
42 class CSSFontSelector; | 41 class CSSFontSelector; |
43 class FontData; | 42 class FontData; |
44 class FontDescription; | 43 class FontDescription; |
45 class FontFace; | 44 class FontFace; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 FontTraits m_traits; | 84 FontTraits m_traits; |
86 HashMap<unsigned, RefPtr<SegmentedFontData>> m_fontDataTable; | 85 HashMap<unsigned, RefPtr<SegmentedFontData>> m_fontDataTable; |
87 // All non-CSS-connected FontFaces are stored after the CSS-connected ones. | 86 // All non-CSS-connected FontFaces are stored after the CSS-connected ones. |
88 FontFaceList m_fontFaces; | 87 FontFaceList m_fontFaces; |
89 FontFaceList::iterator m_firstNonCssConnectedFace; | 88 FontFaceList::iterator m_firstNonCssConnectedFace; |
90 }; | 89 }; |
91 | 90 |
92 } // namespace blink | 91 } // namespace blink |
93 | 92 |
94 #endif // CSSSegmentedFontFace_h | 93 #endif // CSSSegmentedFontFace_h |
OLD | NEW |