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