OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 HarfBuzzShaper_h | 31 #ifndef HarfBuzzShaper_h |
32 #define HarfBuzzShaper_h | 32 #define HarfBuzzShaper_h |
33 | 33 |
34 #include "platform/fonts/shaping/RunSegmenter.h" | 34 #include "platform/fonts/shaping/RunSegmenter.h" |
35 #include "platform/fonts/shaping/ShapeResult.h" | 35 #include "platform/fonts/shaping/ShapeResult.h" |
36 #include "wtf/Allocator.h" | 36 #include "platform/wtf/Allocator.h" |
37 #include "wtf/Deque.h" | 37 #include "platform/wtf/Deque.h" |
38 #include "wtf/Vector.h" | 38 #include "platform/wtf/Vector.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class Font; | 42 class Font; |
43 class SimpleFontData; | 43 class SimpleFontData; |
44 class HarfBuzzShaper; | 44 class HarfBuzzShaper; |
45 struct HolesQueueItem; | 45 struct HolesQueueItem; |
46 | 46 |
47 class PLATFORM_EXPORT HarfBuzzShaper final { | 47 class PLATFORM_EXPORT HarfBuzzShaper final { |
48 public: | 48 public: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 bool collectFallbackHintChars(const Deque<HolesQueueItem>&, | 91 bool collectFallbackHintChars(const Deque<HolesQueueItem>&, |
92 Vector<UChar32>& hint) const; | 92 Vector<UChar32>& hint) const; |
93 | 93 |
94 const UChar* m_text; | 94 const UChar* m_text; |
95 unsigned m_textLength; | 95 unsigned m_textLength; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace blink | 98 } // namespace blink |
99 | 99 |
100 #endif // HarfBuzzShaper_h | 100 #endif // HarfBuzzShaper_h |
OLD | NEW |