| 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/inline/ng_physical_text_fragment.h" | 8 #include "core/layout/ng/inline/ng_physical_text_fragment.h" |
| 9 #include "core/layout/ng/ng_break_token.h" | 9 #include "core/layout/ng/ng_break_token.h" |
| 10 #include "core/layout/ng/ng_constraint_space.h" | 10 #include "core/layout/ng/ng_constraint_space.h" |
| 11 #include "core/layout/ng/ng_floating_object.h" | 11 #include "core/layout/ng/ng_floating_object.h" |
| 12 #include "core/layout/ng/ng_physical_fragment.h" | 12 #include "core/layout/ng/ng_physical_fragment.h" |
| 13 #include "wtf/Allocator.h" | 13 #include "platform/wtf/Allocator.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class NGLayoutResult; | 17 class NGLayoutResult; |
| 18 | 18 |
| 19 class CORE_EXPORT NGFragmentBuilder final { | 19 class CORE_EXPORT NGFragmentBuilder final { |
| 20 DISALLOW_NEW(); | 20 DISALLOW_NEW(); |
| 21 | 21 |
| 22 public: | 22 public: |
| 23 NGFragmentBuilder(NGPhysicalFragment::NGFragmentType, NGLayoutInputNode*); | 23 NGFragmentBuilder(NGPhysicalFragment::NGFragmentType, NGLayoutInputNode*); |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 Vector<NGLogicalOffset> floating_object_offsets_; | 174 Vector<NGLogicalOffset> floating_object_offsets_; |
| 175 Vector<RefPtr<NGFloatingObject>> positioned_floats_; | 175 Vector<RefPtr<NGFloatingObject>> positioned_floats_; |
| 176 | 176 |
| 177 WTF::Optional<NGLogicalOffset> bfc_offset_; | 177 WTF::Optional<NGLogicalOffset> bfc_offset_; |
| 178 NGMarginStrut end_margin_strut_; | 178 NGMarginStrut end_margin_strut_; |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 } // namespace blink | 181 } // namespace blink |
| 182 | 182 |
| 183 #endif // NGFragmentBuilder | 183 #endif // NGFragmentBuilder |
| OLD | NEW |