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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
18 * | 18 * |
19 */ | 19 */ |
20 | 20 |
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 "platform/wtf/Allocator.h" |
30 #include "wtf/Forward.h" | 30 #include "platform/wtf/Forward.h" |
31 #include "wtf/RefCounted.h" | 31 #include "platform/wtf/RefCounted.h" |
32 #include "wtf/WeakPtr.h" | 32 #include "platform/wtf/WeakPtr.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class FontDescription; | 36 class FontDescription; |
37 | 37 |
38 const int cAllFamiliesScanned = -1; | 38 const int cAllFamiliesScanned = -1; |
39 | 39 |
40 class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> { | 40 class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> { |
41 WTF_MAKE_NONCOPYABLE(FontFallbackList); | 41 WTF_MAKE_NONCOPYABLE(FontFallbackList); |
42 | 42 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 unsigned m_fontSelectorVersion; | 100 unsigned m_fontSelectorVersion; |
101 mutable int m_familyIndex; | 101 mutable int m_familyIndex; |
102 unsigned short m_generation; | 102 unsigned short m_generation; |
103 mutable bool m_hasLoadingFallback : 1; | 103 mutable bool m_hasLoadingFallback : 1; |
104 mutable WeakPtr<ShapeCache> m_shapeCache; | 104 mutable WeakPtr<ShapeCache> m_shapeCache; |
105 }; | 105 }; |
106 | 106 |
107 } // namespace blink | 107 } // namespace blink |
108 | 108 |
109 #endif | 109 #endif |
OLD | NEW |