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 NGBlockLayoutAlgorithm_h | 5 #ifndef NGBlockLayoutAlgorithm_h |
6 #define NGBlockLayoutAlgorithm_h | 6 #define NGBlockLayoutAlgorithm_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/layout/ng/ng_block_node.h" | 9 #include "core/layout/ng/ng_block_node.h" |
10 #include "core/layout/ng/ng_break_token.h" | 10 #include "core/layout/ng/ng_break_token.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 std::unique_ptr<NGFragmentBuilder> builder_; | 93 std::unique_ptr<NGFragmentBuilder> builder_; |
94 Persistent<NGConstraintSpaceBuilder> space_builder_; | 94 Persistent<NGConstraintSpaceBuilder> space_builder_; |
95 Persistent<NGConstraintSpace> space_for_current_child_; | 95 Persistent<NGConstraintSpace> space_for_current_child_; |
96 Persistent<NGLayoutInputNode> current_child_; | 96 Persistent<NGLayoutInputNode> current_child_; |
97 | 97 |
98 NGBoxStrut border_and_padding_; | 98 NGBoxStrut border_and_padding_; |
99 LayoutUnit content_size_; | 99 LayoutUnit content_size_; |
100 LayoutUnit max_inline_size_; | 100 LayoutUnit max_inline_size_; |
101 // MarginStrut for the previous child. | 101 // MarginStrut for the previous child. |
102 NGMarginStrut curr_margin_strut_; | 102 NGMarginStrut curr_margin_strut_; |
103 NGLogicalOffset bfc_offset_; | |
104 NGLogicalOffset curr_bfc_offset_; | 103 NGLogicalOffset curr_bfc_offset_; |
105 NGBoxStrut curr_child_margins_; | 104 NGBoxStrut curr_child_margins_; |
106 }; | 105 }; |
107 | 106 |
108 } // namespace blink | 107 } // namespace blink |
109 | 108 |
110 #endif // NGBlockLayoutAlgorithm_h | 109 #endif // NGBlockLayoutAlgorithm_h |
OLD | NEW |