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 NGBlockNode_h | 5 #ifndef NGBlockNode_h |
6 #define NGBlockNode_h | 6 #define NGBlockNode_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/layout/ng/ng_layout_input_node.h" | 9 #include "core/layout/ng/ng_layout_input_node.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 Member<NGBlockNode> next_sibling_; | 79 Member<NGBlockNode> next_sibling_; |
80 Member<NGLayoutInputNode> first_child_; | 80 Member<NGLayoutInputNode> first_child_; |
81 Member<NGLayoutCoordinator> layout_coordinator_; | 81 Member<NGLayoutCoordinator> layout_coordinator_; |
82 Member<NGLayoutAlgorithm> minmax_algorithm_; | 82 Member<NGLayoutAlgorithm> minmax_algorithm_; |
83 Member<NGPhysicalFragment> fragment_; | 83 Member<NGPhysicalFragment> fragment_; |
84 }; | 84 }; |
85 | 85 |
86 DEFINE_TYPE_CASTS(NGBlockNode, | 86 DEFINE_TYPE_CASTS(NGBlockNode, |
87 NGLayoutInputNode, | 87 NGLayoutInputNode, |
88 node, | 88 node, |
89 node->Type() == NGLayoutInputNode::LegacyBlock, | 89 node->Type() == NGLayoutInputNode::kLegacyBlock, |
90 node.Type() == NGLayoutInputNode::LegacyBlock); | 90 node.Type() == NGLayoutInputNode::kLegacyBlock); |
91 | 91 |
92 } // namespace blink | 92 } // namespace blink |
93 | 93 |
94 #endif // NGBlockNode | 94 #endif // NGBlockNode |
OLD | NEW |