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 NGLineBoxFragmentBuilder_h | 5 #ifndef NGLineBoxFragmentBuilder_h |
6 #define NGLineBoxFragmentBuilder_h | 6 #define NGLineBoxFragmentBuilder_h |
7 | 7 |
8 #include "core/layout/ng/geometry/ng_logical_offset.h" | 8 #include "core/layout/ng/geometry/ng_logical_offset.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 "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class NGInlineBreakToken; | 14 class NGInlineBreakToken; |
15 class NGInlineNode; | 15 class NGInlineNode; |
16 class NGPhysicalFragment; | 16 class NGPhysicalFragment; |
17 class NGPhysicalLineBoxFragment; | 17 class NGPhysicalLineBoxFragment; |
18 | 18 |
19 class CORE_EXPORT NGLineBoxFragmentBuilder final { | 19 class CORE_EXPORT NGLineBoxFragmentBuilder final { |
20 STACK_ALLOCATED(); | 20 STACK_ALLOCATED(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 Vector<NGLogicalOffset> offsets_; | 55 Vector<NGLogicalOffset> offsets_; |
56 | 56 |
57 NGLineHeightMetrics metrics_; | 57 NGLineHeightMetrics metrics_; |
58 | 58 |
59 RefPtr<NGInlineBreakToken> break_token_; | 59 RefPtr<NGInlineBreakToken> break_token_; |
60 }; | 60 }; |
61 | 61 |
62 } // namespace blink | 62 } // namespace blink |
63 | 63 |
64 #endif // NGLineBoxFragmentBuilder | 64 #endif // NGLineBoxFragmentBuilder |
OLD | NEW |