OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 10 matching lines...) Expand all Loading... |
21 #ifndef FontFallbackList_h | 21 #ifndef FontFallbackList_h |
22 #define FontFallbackList_h | 22 #define FontFallbackList_h |
23 | 23 |
24 #include "platform/fonts/FallbackListCompositeKey.h" | 24 #include "platform/fonts/FallbackListCompositeKey.h" |
25 #include "platform/fonts/FontCache.h" | 25 #include "platform/fonts/FontCache.h" |
26 #include "platform/fonts/FontSelector.h" | 26 #include "platform/fonts/FontSelector.h" |
27 #include "platform/fonts/SimpleFontData.h" | 27 #include "platform/fonts/SimpleFontData.h" |
28 #include "platform/fonts/shaping/ShapeCache.h" | 28 #include "platform/fonts/shaping/ShapeCache.h" |
29 #include "wtf/Allocator.h" | 29 #include "wtf/Allocator.h" |
30 #include "wtf/Forward.h" | 30 #include "wtf/Forward.h" |
| 31 #include "wtf/RefCounted.h" |
31 #include "wtf/WeakPtr.h" | 32 #include "wtf/WeakPtr.h" |
32 | 33 |
33 namespace blink { | 34 namespace blink { |
34 | 35 |
35 class GlyphPageTreeNodeBase; | 36 class GlyphPageTreeNodeBase; |
36 class FontDescription; | 37 class FontDescription; |
37 | 38 |
38 const int cAllFamiliesScanned = -1; | 39 const int cAllFamiliesScanned = -1; |
39 | 40 |
40 class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> { | 41 class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 unsigned m_fontSelectorVersion; | 134 unsigned m_fontSelectorVersion; |
134 mutable int m_familyIndex; | 135 mutable int m_familyIndex; |
135 unsigned short m_generation; | 136 unsigned short m_generation; |
136 mutable bool m_hasLoadingFallback : 1; | 137 mutable bool m_hasLoadingFallback : 1; |
137 mutable WeakPtr<ShapeCache> m_shapeCache; | 138 mutable WeakPtr<ShapeCache> m_shapeCache; |
138 }; | 139 }; |
139 | 140 |
140 } // namespace blink | 141 } // namespace blink |
141 | 142 |
142 #endif | 143 #endif |
OLD | NEW |