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 12 matching lines...) Expand all Loading... |
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 | 29 |
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 "wtf/Allocator.h" |
33 #include "wtf/OwnPtr.h" | |
34 #include "wtf/PassRefPtr.h" | 33 #include "wtf/PassRefPtr.h" |
35 | 34 |
36 namespace blink { | 35 namespace blink { |
37 | 36 |
38 struct CharacterRange; | 37 struct CharacterRange; |
39 class Font; | 38 class Font; |
40 class GlyphBuffer; | 39 class GlyphBuffer; |
41 class SimpleFontData; | 40 class SimpleFontData; |
42 class ShapeCache; | 41 class ShapeCache; |
43 struct GlyphData; | 42 struct GlyphData; |
(...skipping 20 matching lines...) Expand all Loading... |
64 Vector<CharacterRange> individualCharacterRanges(const Font*, | 63 Vector<CharacterRange> individualCharacterRanges(const Font*, |
65 const TextRun&); | 64 const TextRun&); |
66 | 65 |
67 private: | 66 private: |
68 ShapeCache* m_shapeCache; | 67 ShapeCache* m_shapeCache; |
69 }; | 68 }; |
70 | 69 |
71 } // namespace blink | 70 } // namespace blink |
72 | 71 |
73 #endif // CachingWordShaper_h | 72 #endif // CachingWordShaper_h |
OLD | NEW |