OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2013 Apple Inc. All rights reserved. |
3 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 3 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 14 matching lines...) Expand all Loading... |
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #ifndef GlyphPage_h | 30 #ifndef GlyphPage_h |
31 #define GlyphPage_h | 31 #define GlyphPage_h |
32 | 32 |
33 #include <string.h> | 33 #include <string.h> |
34 #include "core/platform/graphics/Glyph.h" | 34 #include "core/platform/graphics/Glyph.h" |
35 #include <wtf/PassRefPtr.h> | 35 #include "wtf/PassRefPtr.h" |
36 #include <wtf/RefCounted.h> | 36 #include "wtf/RefCounted.h" |
37 #include <wtf/RefPtr.h> | 37 #include "wtf/RefPtr.h" |
38 #include <wtf/unicode/Unicode.h> | 38 #include "wtf/unicode/Unicode.h" |
39 | 39 |
40 namespace WebCore { | 40 namespace WebCore { |
41 | 41 |
42 class SimpleFontData; | 42 class SimpleFontData; |
43 class GlyphPageTreeNode; | 43 class GlyphPageTreeNode; |
44 | 44 |
45 // Holds the glyph index and the corresponding SimpleFontData information for a
given | 45 // Holds the glyph index and the corresponding SimpleFontData information for a
given |
46 // character. | 46 // character. |
47 struct GlyphData { | 47 struct GlyphData { |
48 GlyphData(Glyph g = 0, const SimpleFontData* f = 0) | 48 GlyphData(Glyph g = 0, const SimpleFontData* f = 0) |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 const SimpleFontData* m_perGlyphFontData[0]; | 193 const SimpleFontData* m_perGlyphFontData[0]; |
194 }; | 194 }; |
195 | 195 |
196 #if COMPILER(MSVC) | 196 #if COMPILER(MSVC) |
197 #pragma warning(pop) | 197 #pragma warning(pop) |
198 #endif | 198 #endif |
199 | 199 |
200 } // namespace WebCore | 200 } // namespace WebCore |
201 | 201 |
202 #endif // GlyphPage_h | 202 #endif // GlyphPage_h |
OLD | NEW |