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 NGBox_h | 5 #ifndef NGBox_h |
6 #define NGBox_h | 6 #define NGBox_h |
7 | 7 |
8 #include "core/layout/LayoutBox.h" | |
9 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
10 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
11 | 10 |
12 namespace blink { | 11 namespace blink { |
13 | 12 |
14 class ComputedStyle; | 13 class ComputedStyle; |
15 class LayoutBox; | 14 class LayoutBox; |
| 15 class LayoutObject; |
16 class NGBlockLayoutAlgorithm; | 16 class NGBlockLayoutAlgorithm; |
17 class NGConstraintSpace; | 17 class NGConstraintSpace; |
18 class NGFragment; | 18 class NGFragment; |
19 class NGPhysicalFragment; | 19 class NGPhysicalFragment; |
20 | 20 |
21 // Represents a node to be laid out. | 21 // Represents a node to be laid out. |
22 class CORE_EXPORT NGBox final : public GarbageCollectedFinalized<NGBox> { | 22 class CORE_EXPORT NGBox final : public GarbageCollectedFinalized<NGBox> { |
23 public: | 23 public: |
24 explicit NGBox(LayoutObject*); | 24 explicit NGBox(LayoutObject*); |
25 | 25 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 RefPtr<ComputedStyle> style_; | 62 RefPtr<ComputedStyle> style_; |
63 Member<NGBox> next_sibling_; | 63 Member<NGBox> next_sibling_; |
64 Member<NGBox> first_child_; | 64 Member<NGBox> first_child_; |
65 Member<NGBlockLayoutAlgorithm> algorithm_; | 65 Member<NGBlockLayoutAlgorithm> algorithm_; |
66 Member<NGPhysicalFragment> fragment_; | 66 Member<NGPhysicalFragment> fragment_; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace blink | 69 } // namespace blink |
70 | 70 |
71 #endif // NGBox_h | 71 #endif // NGBox_h |
OLD | NEW |