| 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_block_layout_algorithm.h" | 5 #include "core/layout/ng/ng_block_layout_algorithm.h" |
| 6 | 6 |
| 7 #include "core/layout/ng/ng_box_fragment.h" |
| 7 #include "core/layout/ng/ng_break_token.h" | 8 #include "core/layout/ng/ng_break_token.h" |
| 8 #include "core/layout/ng/ng_constraint_space.h" | 9 #include "core/layout/ng/ng_constraint_space.h" |
| 9 #include "core/layout/ng/ng_constraint_space_builder.h" | 10 #include "core/layout/ng/ng_constraint_space_builder.h" |
| 11 #include "core/layout/ng/ng_fragment.h" |
| 10 #include "core/layout/ng/ng_fragment_builder.h" | 12 #include "core/layout/ng/ng_fragment_builder.h" |
| 11 #include "core/layout/ng/ng_layout_opportunity_iterator.h" | 13 #include "core/layout/ng/ng_layout_opportunity_iterator.h" |
| 12 #include "core/layout/ng/ng_length_utils.h" | 14 #include "core/layout/ng/ng_length_utils.h" |
| 13 #include "core/layout/ng/ng_out_of_flow_layout_part.h" | 15 #include "core/layout/ng/ng_out_of_flow_layout_part.h" |
| 14 #include "core/layout/ng/ng_units.h" | 16 #include "core/layout/ng/ng_units.h" |
| 15 #include "core/style/ComputedStyle.h" | 17 #include "core/style/ComputedStyle.h" |
| 16 #include "core/layout/ng/ng_box_fragment.h" | |
| 17 #include "core/layout/ng/ng_fragment.h" | |
| 18 #include "platform/LengthFunctions.h" | 18 #include "platform/LengthFunctions.h" |
| 19 #include "wtf/Optional.h" | 19 #include "wtf/Optional.h" |
| 20 | 20 |
| 21 namespace blink { | 21 namespace blink { |
| 22 namespace { | 22 namespace { |
| 23 | 23 |
| 24 // Adjusts content's offset to CSS "clear" property. | 24 // Adjusts content's offset to CSS "clear" property. |
| 25 // TODO(glebl): Support margin collapsing edge cases, e.g. margin collapsing | 25 // TODO(glebl): Support margin collapsing edge cases, e.g. margin collapsing |
| 26 // should not occur if "clear" is applied to non-floating blocks. | 26 // should not occur if "clear" is applied to non-floating blocks. |
| 27 // TODO(layout-ng): the call to AdjustToClearance should be moved to | 27 // TODO(layout-ng): the call to AdjustToClearance should be moved to |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 visitor->trace(builder_); | 559 visitor->trace(builder_); |
| 560 visitor->trace(space_builder_); | 560 visitor->trace(space_builder_); |
| 561 visitor->trace(space_for_current_child_); | 561 visitor->trace(space_for_current_child_); |
| 562 visitor->trace(current_child_); | 562 visitor->trace(current_child_); |
| 563 visitor->trace(current_minmax_child_); | 563 visitor->trace(current_minmax_child_); |
| 564 visitor->trace(out_of_flow_layout_); | 564 visitor->trace(out_of_flow_layout_); |
| 565 visitor->trace(out_of_flow_candidates_); | 565 visitor->trace(out_of_flow_candidates_); |
| 566 } | 566 } |
| 567 | 567 |
| 568 } // namespace blink | 568 } // namespace blink |
| OLD | NEW |