| 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 #include "core/layout/ng/ng_inline_layout_algorithm.h" | 5 #include "core/layout/ng/ng_inline_layout_algorithm.h" |
| 6 | 6 |
| 7 #include "core/layout/ng/ng_break_token.h" | 7 #include "core/layout/ng/ng_break_token.h" |
| 8 #include "core/layout/ng/ng_constraint_space.h" | 8 #include "core/layout/ng/ng_constraint_space.h" |
| 9 #include "core/layout/ng/ng_constraint_space_builder.h" | 9 #include "core/layout/ng/ng_constraint_space_builder.h" |
| 10 #include "core/layout/ng/ng_fragment_builder.h" | 10 #include "core/layout/ng/ng_fragment_builder.h" |
| 11 #include "core/layout/ng/ng_inline_node.h" | 11 #include "core/layout/ng/ng_inline_node.h" |
| 12 #include "core/layout/ng/ng_length_utils.h" | 12 #include "core/layout/ng/ng_length_utils.h" |
| 13 #include "core/layout/ng/ng_line_builder.h" | 13 #include "core/layout/ng/ng_line_builder.h" |
| 14 #include "core/layout/ng/ng_physical_box_fragment.h" |
| 14 #include "core/style/ComputedStyle.h" | 15 #include "core/style/ComputedStyle.h" |
| 15 #include "core/layout/ng/ng_physical_box_fragment.h" | |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 NGInlineLayoutAlgorithm::NGInlineLayoutAlgorithm( | 19 NGInlineLayoutAlgorithm::NGInlineLayoutAlgorithm( |
| 20 PassRefPtr<const ComputedStyle> style, | 20 PassRefPtr<const ComputedStyle> style, |
| 21 NGInlineNode* first_child, | 21 NGInlineNode* first_child, |
| 22 NGConstraintSpace* constraint_space, | 22 NGConstraintSpace* constraint_space, |
| 23 NGBreakToken* break_token) | 23 NGBreakToken* break_token) |
| 24 : NGLayoutAlgorithm(kInlineLayoutAlgorithm), | 24 : NGLayoutAlgorithm(kInlineLayoutAlgorithm), |
| 25 style_(style), | 25 style_(style), |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 visitor->trace(first_child_); | 97 visitor->trace(first_child_); |
| 98 visitor->trace(constraint_space_); | 98 visitor->trace(constraint_space_); |
| 99 visitor->trace(break_token_); | 99 visitor->trace(break_token_); |
| 100 visitor->trace(builder_); | 100 visitor->trace(builder_); |
| 101 visitor->trace(space_for_current_child_); | 101 visitor->trace(space_for_current_child_); |
| 102 visitor->trace(current_child_); | 102 visitor->trace(current_child_); |
| 103 visitor->trace(line_builder_); | 103 visitor->trace(line_builder_); |
| 104 } | 104 } |
| 105 | 105 |
| 106 } // namespace blink | 106 } // namespace blink |
| OLD | NEW |