OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 NGTextFragmentBuilder_h | 5 #ifndef NGTextFragmentBuilder_h |
6 #define NGTextFragmentBuilder_h | 6 #define NGTextFragmentBuilder_h |
7 | 7 |
8 #include "core/layout/ng/geometry/ng_logical_size.h" | 8 #include "core/layout/ng/geometry/ng_logical_size.h" |
9 #include "core/layout/ng/inline/ng_line_height_metrics.h" | 9 #include "core/layout/ng/inline/ng_line_height_metrics.h" |
10 #include "platform/text/TextDirection.h" | 10 #include "platform/text/TextDirection.h" |
11 #include "wtf/Allocator.h" | 11 #include "platform/wtf/Allocator.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class NGInlineNode; | 15 class NGInlineNode; |
16 class NGPhysicalTextFragment; | 16 class NGPhysicalTextFragment; |
17 | 17 |
18 class CORE_EXPORT NGTextFragmentBuilder final { | 18 class CORE_EXPORT NGTextFragmentBuilder final { |
19 STACK_ALLOCATED(); | 19 STACK_ALLOCATED(); |
20 | 20 |
21 public: | 21 public: |
(...skipping 18 matching lines...) Expand all Loading... |
40 Persistent<NGInlineNode> node_; | 40 Persistent<NGInlineNode> node_; |
41 | 41 |
42 NGLogicalSize size_; | 42 NGLogicalSize size_; |
43 | 43 |
44 NGLineHeightMetrics metrics_; | 44 NGLineHeightMetrics metrics_; |
45 }; | 45 }; |
46 | 46 |
47 } // namespace blink | 47 } // namespace blink |
48 | 48 |
49 #endif // NGTextFragmentBuilder | 49 #endif // NGTextFragmentBuilder |
OLD | NEW |