| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 Google Inc. All rights reserved. | 2 * Copyright (c) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 BlackBerry Limited. All rights reserved. | 3 * Copyright (C) 2013 BlackBerry Limited. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 #ifndef ShapeResultInlineHeaders_h | 32 #ifndef ShapeResultInlineHeaders_h |
| 33 #define ShapeResultInlineHeaders_h | 33 #define ShapeResultInlineHeaders_h |
| 34 | 34 |
| 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/Noncopyable.h" | 37 #include "platform/wtf/Noncopyable.h" |
| 38 | 38 |
| 39 #include <hb.h> | 39 #include <hb.h> |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class SimpleFontData; | 43 class SimpleFontData; |
| 44 | 44 |
| 45 struct HarfBuzzRunGlyphData { | 45 struct HarfBuzzRunGlyphData { |
| 46 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 46 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 47 uint16_t glyph; | 47 uint16_t glyph; |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 hb_script_t m_script; | 202 hb_script_t m_script; |
| 203 Vector<HarfBuzzRunGlyphData> m_glyphData; | 203 Vector<HarfBuzzRunGlyphData> m_glyphData; |
| 204 unsigned m_startIndex; | 204 unsigned m_startIndex; |
| 205 unsigned m_numCharacters; | 205 unsigned m_numCharacters; |
| 206 float m_width; | 206 float m_width; |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 } // namespace blink | 209 } // namespace blink |
| 210 | 210 |
| 211 #endif // ShapeResultInlineHeaders_h | 211 #endif // ShapeResultInlineHeaders_h |
| OLD | NEW |