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 NGFragmentBuilder_h | 5 #ifndef NGFragmentBuilder_h |
6 #define NGFragmentBuilder_h | 6 #define NGFragmentBuilder_h |
7 | 7 |
8 #include "core/layout/ng/ng_break_token.h" | 8 #include "core/layout/ng/ng_break_token.h" |
9 #include "core/layout/ng/ng_constraint_space.h" | 9 #include "core/layout/ng/ng_constraint_space.h" |
10 #include "core/layout/ng/ng_floating_object.h" | 10 #include "core/layout/ng/ng_floating_object.h" |
11 #include "core/layout/ng/ng_physical_fragment.h" | 11 #include "core/layout/ng/ng_physical_fragment.h" |
| 12 #include "core/layout/ng/ng_units.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 | 15 |
15 class NGLayoutResult; | 16 class NGLayoutResult; |
16 class NGPhysicalTextFragment; | 17 class NGPhysicalTextFragment; |
17 | 18 |
18 class CORE_EXPORT NGFragmentBuilder final { | 19 class CORE_EXPORT NGFragmentBuilder final { |
19 public: | 20 public: |
20 NGFragmentBuilder(NGPhysicalFragment::NGFragmentType, NGLayoutInputNode*); | 21 NGFragmentBuilder(NGPhysicalFragment::NGFragmentType, NGLayoutInputNode*); |
21 | 22 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 Vector<NGLogicalOffset> floating_object_offsets_; | 165 Vector<NGLogicalOffset> floating_object_offsets_; |
165 Vector<Persistent<NGFloatingObject>> positioned_floats_; | 166 Vector<Persistent<NGFloatingObject>> positioned_floats_; |
166 | 167 |
167 WTF::Optional<NGLogicalOffset> bfc_offset_; | 168 WTF::Optional<NGLogicalOffset> bfc_offset_; |
168 NGMarginStrut end_margin_strut_; | 169 NGMarginStrut end_margin_strut_; |
169 }; | 170 }; |
170 | 171 |
171 } // namespace blink | 172 } // namespace blink |
172 | 173 |
173 #endif // NGFragmentBuilder | 174 #endif // NGFragmentBuilder |
OLD | NEW |