OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef ShapeResult_h | 31 #ifndef ShapeResult_h |
32 #define ShapeResult_h | 32 #define ShapeResult_h |
33 | 33 |
34 #include <memory> | 34 #include <memory> |
35 #include "platform/LayoutUnit.h" | 35 #include "platform/LayoutUnit.h" |
36 #include "platform/PlatformExport.h" | 36 #include "platform/PlatformExport.h" |
37 #include "platform/geometry/FloatRect.h" | 37 #include "platform/geometry/FloatRect.h" |
38 #include "platform/text/TextDirection.h" | 38 #include "platform/text/TextDirection.h" |
39 #include "wtf/HashSet.h" | 39 #include "platform/wtf/HashSet.h" |
40 #include "wtf/Noncopyable.h" | 40 #include "platform/wtf/Noncopyable.h" |
41 #include "wtf/RefCounted.h" | 41 #include "platform/wtf/RefCounted.h" |
42 #include "wtf/Vector.h" | 42 #include "platform/wtf/Vector.h" |
43 | 43 |
44 struct hb_buffer_t; | 44 struct hb_buffer_t; |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 | 47 |
48 class Font; | 48 class Font; |
49 class ShapeResultSpacing; | 49 class ShapeResultSpacing; |
50 class SimpleFontData; | 50 class SimpleFontData; |
51 class TextRun; | 51 class TextRun; |
52 | 52 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 // Tracks whether any runs contain glyphs with a y-offset != 0. | 124 // Tracks whether any runs contain glyphs with a y-offset != 0. |
125 unsigned m_hasVerticalOffsets : 1; | 125 unsigned m_hasVerticalOffsets : 1; |
126 | 126 |
127 friend class HarfBuzzShaper; | 127 friend class HarfBuzzShaper; |
128 friend class ShapeResultBuffer; | 128 friend class ShapeResultBuffer; |
129 }; | 129 }; |
130 | 130 |
131 } // namespace blink | 131 } // namespace blink |
132 | 132 |
133 #endif // ShapeResult_h | 133 #endif // ShapeResult_h |
OLD | NEW |