| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ShapeResultBuffer_h | 5 #ifndef ShapeResultBuffer_h |
| 6 #define ShapeResultBuffer_h | 6 #define ShapeResultBuffer_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/fonts/shaping/ShapeResult.h" | 9 #include "platform/fonts/shaping/ShapeResult.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 #include "wtf/RefPtr.h" | 11 #include "platform/wtf/RefPtr.h" |
| 12 #include "wtf/Vector.h" | 12 #include "platform/wtf/Vector.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 struct CharacterRange; | 16 struct CharacterRange; |
| 17 class FontDescription; | 17 class FontDescription; |
| 18 struct GlyphData; | 18 struct GlyphData; |
| 19 class ShapeResultBloberizer; | 19 class ShapeResultBloberizer; |
| 20 class TextRun; | 20 class TextRun; |
| 21 struct TextRunPaintInfo; | 21 struct TextRunPaintInfo; |
| 22 | 22 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 // Empirically, cases where we get more than 50 ShapeResults are extremely | 92 // Empirically, cases where we get more than 50 ShapeResults are extremely |
| 93 // rare. | 93 // rare. |
| 94 Vector<RefPtr<const ShapeResult>, 64> m_results; | 94 Vector<RefPtr<const ShapeResult>, 64> m_results; |
| 95 bool m_hasVerticalOffsets; | 95 bool m_hasVerticalOffsets; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace blink | 98 } // namespace blink |
| 99 | 99 |
| 100 #endif // ShapeResultBuffer_h | 100 #endif // ShapeResultBuffer_h |
| OLD | NEW |