| 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_node.h" | 5 #include "core/layout/ng/ng_inline_node.h" |
| 6 | 6 |
| 7 #include "core/layout/LayoutBlockFlow.h" | 7 #include "core/layout/LayoutObject.h" |
| 8 #include "core/style/ComputedStyle.h" | 8 #include "core/layout/LayoutText.h" |
| 9 #include "core/layout/ng/layout_ng_block_flow.h" | |
| 10 #include "core/layout/ng/ng_bidi_paragraph.h" | 9 #include "core/layout/ng/ng_bidi_paragraph.h" |
| 11 #include "core/layout/ng/ng_layout_inline_items_builder.h" | 10 #include "core/layout/ng/ng_layout_inline_items_builder.h" |
| 12 #include "core/layout/ng/ng_text_layout_algorithm.h" | 11 #include "core/layout/ng/ng_text_layout_algorithm.h" |
| 13 #include "core/layout/ng/ng_constraint_space_builder.h" | 12 #include "core/layout/ng/ng_constraint_space_builder.h" |
| 14 #include "core/layout/ng/ng_constraint_space.h" | |
| 15 #include "core/layout/ng/ng_physical_text_fragment.h" | 13 #include "core/layout/ng/ng_physical_text_fragment.h" |
| 16 #include "core/layout/ng/ng_text_fragment.h" | 14 #include "core/layout/ng/ng_text_fragment.h" |
| 17 #include "core/layout/ng/ng_fragment_builder.h" | 15 #include "core/style/ComputedStyle.h" |
| 18 #include "core/layout/ng/ng_length_utils.h" | |
| 19 #include "core/layout/ng/ng_writing_mode.h" | |
| 20 #include "platform/text/TextDirection.h" | |
| 21 #include "platform/fonts/shaping/CachingWordShaper.h" | 16 #include "platform/fonts/shaping/CachingWordShaper.h" |
| 22 #include "platform/fonts/shaping/CachingWordShapeIterator.h" | 17 #include "platform/fonts/shaping/CachingWordShapeIterator.h" |
| 23 #include "wtf/text/CharacterNames.h" | 18 #include "wtf/text/CharacterNames.h" |
| 24 | 19 |
| 25 namespace blink { | 20 namespace blink { |
| 26 | 21 |
| 27 NGInlineNode::NGInlineNode(LayoutObject* start_inline, | 22 NGInlineNode::NGInlineNode(LayoutObject* start_inline, |
| 28 ComputedStyle* block_style) | 23 ComputedStyle* block_style) |
| 29 : NGLayoutInputNode(NGLayoutInputNodeType::kLegacyInline), | 24 : NGLayoutInputNode(NGLayoutInputNodeType::kLegacyInline), |
| 30 start_inline_(start_inline), | 25 start_inline_(start_inline), |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 return next_sibling_; | 239 return next_sibling_; |
| 245 } | 240 } |
| 246 | 241 |
| 247 DEFINE_TRACE(NGInlineNode) { | 242 DEFINE_TRACE(NGInlineNode) { |
| 248 visitor->trace(next_sibling_); | 243 visitor->trace(next_sibling_); |
| 249 visitor->trace(layout_algorithm_); | 244 visitor->trace(layout_algorithm_); |
| 250 NGLayoutInputNode::trace(visitor); | 245 NGLayoutInputNode::trace(visitor); |
| 251 } | 246 } |
| 252 | 247 |
| 253 } // namespace blink | 248 } // namespace blink |
| OLD | NEW |