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 NGConstraintSpace_h | 5 #ifndef NGConstraintSpace_h |
6 #define NGConstraintSpace_h | 6 #define NGConstraintSpace_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/layout/ng/geometry/ng_logical_offset.h" | 9 #include "core/layout/ng/ng_units.h" |
10 #include "core/layout/ng/geometry/ng_logical_size.h" | |
11 #include "core/layout/ng/geometry/ng_margin_strut.h" | |
12 #include "core/layout/ng/geometry/ng_physical_size.h" | |
13 #include "core/layout/ng/ng_exclusion.h" | |
14 #include "core/layout/ng/ng_writing_mode.h" | 10 #include "core/layout/ng/ng_writing_mode.h" |
15 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
16 #include "platform/text/TextDirection.h" | |
17 #include "wtf/Optional.h" | 12 #include "wtf/Optional.h" |
18 #include "wtf/text/WTFString.h" | 13 #include "wtf/text/WTFString.h" |
19 | 14 |
20 namespace blink { | 15 namespace blink { |
21 | 16 |
22 class LayoutBox; | 17 class LayoutBox; |
23 class NGBoxFragment; | 18 class NGBoxFragment; |
24 | 19 |
25 enum NGFragmentationType { | 20 enum NGFragmentationType { |
26 kFragmentNone, | 21 kFragmentNone, |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 }; | 183 }; |
189 | 184 |
190 inline std::ostream& operator<<(std::ostream& stream, | 185 inline std::ostream& operator<<(std::ostream& stream, |
191 const NGConstraintSpace& value) { | 186 const NGConstraintSpace& value) { |
192 return stream << value.ToString(); | 187 return stream << value.ToString(); |
193 } | 188 } |
194 | 189 |
195 } // namespace blink | 190 } // namespace blink |
196 | 191 |
197 #endif // NGConstraintSpace_h | 192 #endif // NGConstraintSpace_h |
OLD | NEW |