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 NGPhysicalFragment_h | 5 #ifndef NGPhysicalFragment_h |
6 #define NGPhysicalFragment_h | 6 #define NGPhysicalFragment_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/layout/ng/ng_physical_fragment_base.h" | 9 #include "core/layout/ng/ng_physical_fragment_base.h" |
10 #include "core/layout/ng/ng_units.h" | 10 #include "core/layout/ng/ng_units.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 HeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_; | 47 HeapLinkedHashSet<WeakMember<NGBlockNode>> out_of_flow_descendants_; |
48 Vector<NGLogicalOffset> out_of_flow_offsets_; | 48 Vector<NGLogicalOffset> out_of_flow_offsets_; |
49 NGMarginStrut margin_strut_; | 49 NGMarginStrut margin_strut_; |
50 }; | 50 }; |
51 | 51 |
52 WILL_NOT_BE_EAGERLY_TRACED_CLASS(NGPhysicalFragment); | 52 WILL_NOT_BE_EAGERLY_TRACED_CLASS(NGPhysicalFragment); |
53 | 53 |
54 DEFINE_TYPE_CASTS(NGPhysicalFragment, | 54 DEFINE_TYPE_CASTS(NGPhysicalFragment, |
55 NGPhysicalFragmentBase, | 55 NGPhysicalFragmentBase, |
56 fragment, | 56 fragment, |
57 fragment->Type() == NGPhysicalFragmentBase::FragmentBox, | 57 fragment->Type() == NGPhysicalFragmentBase::kFragmentBox, |
58 fragment.Type() == NGPhysicalFragmentBase::FragmentBox); | 58 fragment.Type() == NGPhysicalFragmentBase::kFragmentBox); |
59 | 59 |
60 } // namespace blink | 60 } // namespace blink |
61 | 61 |
62 #endif // NGPhysicalFragment_h | 62 #endif // NGPhysicalFragment_h |
OLD | NEW |