OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2006, 2007, 2008, Google Inc. All rights reserved. | 2 * Copyright (c) 2006, 2007, 2008, Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef FontPlatformDataHarfBuzz_h | 31 #ifndef FontPlatformDataHarfBuzz_h |
32 #define FontPlatformDataHarfBuzz_h | 32 #define FontPlatformDataHarfBuzz_h |
33 | 33 |
34 #include "SkPaint.h" | 34 #include "SkPaint.h" |
35 #include "platform/SharedBuffer.h" | 35 #include "platform/SharedBuffer.h" |
36 #include "core/platform/graphics/FontOrientation.h" | |
37 #include "core/platform/graphics/chromium/FontRenderStyle.h" | 36 #include "core/platform/graphics/chromium/FontRenderStyle.h" |
38 #include "core/platform/graphics/opentype/OpenTypeVerticalData.h" | 37 #include "core/platform/graphics/opentype/OpenTypeVerticalData.h" |
| 38 #include "platform/fonts/FontOrientation.h" |
39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
40 #include "wtf/HashTableDeletedValueType.h" | 40 #include "wtf/HashTableDeletedValueType.h" |
41 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
42 #include "wtf/text/CString.h" | 42 #include "wtf/text/CString.h" |
43 #include "wtf/text/StringImpl.h" | 43 #include "wtf/text/StringImpl.h" |
44 | 44 |
45 class SkTypeface; | 45 class SkTypeface; |
46 typedef uint32_t SkFontID; | 46 typedef uint32_t SkFontID; |
47 | 47 |
48 namespace WebCore { | 48 namespace WebCore { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 bool m_fakeItalic; | 138 bool m_fakeItalic; |
139 FontOrientation m_orientation; | 139 FontOrientation m_orientation; |
140 FontRenderStyle m_style; | 140 FontRenderStyle m_style; |
141 mutable RefPtr<HarfBuzzFace> m_harfBuzzFace; | 141 mutable RefPtr<HarfBuzzFace> m_harfBuzzFace; |
142 bool m_isHashTableDeletedValue; | 142 bool m_isHashTableDeletedValue; |
143 }; | 143 }; |
144 | 144 |
145 } // namespace WebCore | 145 } // namespace WebCore |
146 | 146 |
147 #endif // ifdef FontPlatformDataHarfBuzz_h | 147 #endif // ifdef FontPlatformDataHarfBuzz_h |
OLD | NEW |