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 NGPhysicalBoxFragment_h | 5 #ifndef NGPhysicalBoxFragment_h |
6 #define NGPhysicalBoxFragment_h | 6 #define NGPhysicalBoxFragment_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/layout/ng/ng_physical_fragment.h" |
9 #include "core/layout/ng/ng_units.h" | 10 #include "core/layout/ng/ng_units.h" |
10 #include "core/layout/ng/ng_physical_fragment.h" | |
11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class NGBlockNode; | 15 class NGBlockNode; |
16 | 16 |
17 class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment { | 17 class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment { |
18 public: | 18 public: |
19 // This modifies the passed-in children vector. | 19 // This modifies the passed-in children vector. |
20 NGPhysicalBoxFragment( | 20 NGPhysicalBoxFragment( |
(...skipping 21 matching lines...) Expand all Loading... |
42 | 42 |
43 DEFINE_TYPE_CASTS(NGPhysicalBoxFragment, | 43 DEFINE_TYPE_CASTS(NGPhysicalBoxFragment, |
44 NGPhysicalFragment, | 44 NGPhysicalFragment, |
45 fragment, | 45 fragment, |
46 fragment->Type() == NGPhysicalFragment::kFragmentBox, | 46 fragment->Type() == NGPhysicalFragment::kFragmentBox, |
47 fragment.Type() == NGPhysicalFragment::kFragmentBox); | 47 fragment.Type() == NGPhysicalFragment::kFragmentBox); |
48 | 48 |
49 } // namespace blink | 49 } // namespace blink |
50 | 50 |
51 #endif // NGPhysicalBoxFragment_h | 51 #endif // NGPhysicalBoxFragment_h |
OLD | NEW |