OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2015 Google Inc. All rights reserved. | 2 * Copyright (C) 2015 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef CachingWordShaper_h | 26 #ifndef CachingWordShaper_h |
27 #define CachingWordShaper_h | 27 #define CachingWordShaper_h |
28 | 28 |
29 #include "platform/fonts/shaping/ShapeResultBuffer.h" | 29 #include "platform/fonts/shaping/ShapeResultBuffer.h" |
30 #include "platform/geometry/FloatRect.h" | 30 #include "platform/geometry/FloatRect.h" |
31 #include "platform/text/TextRun.h" | 31 #include "platform/text/TextRun.h" |
32 #include "wtf/Allocator.h" | 32 #include "platform/wtf/Allocator.h" |
33 #include "wtf/PassRefPtr.h" | 33 #include "platform/wtf/PassRefPtr.h" |
34 #include "wtf/Vector.h" | 34 #include "platform/wtf/Vector.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 struct CharacterRange; | 38 struct CharacterRange; |
39 class Font; | 39 class Font; |
40 class ShapeCache; | 40 class ShapeCache; |
41 class SimpleFontData; | 41 class SimpleFontData; |
42 class ShapeResultBloberizer; | 42 class ShapeResultBloberizer; |
43 struct GlyphData; | 43 struct GlyphData; |
44 | 44 |
(...skipping 27 matching lines...) Expand all Loading... |
72 | 72 |
73 private: | 73 private: |
74 ShapeCache* shapeCache() const; | 74 ShapeCache* shapeCache() const; |
75 | 75 |
76 const Font& m_font; | 76 const Font& m_font; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace blink | 79 } // namespace blink |
80 | 80 |
81 #endif // CachingWordShaper_h | 81 #endif // CachingWordShaper_h |
OLD | NEW |