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/geometry/ng_logical_offset.h" |
10 #include "core/layout/ng/geometry/ng_logical_size.h" | 10 #include "core/layout/ng/geometry/ng_logical_size.h" |
11 #include "core/layout/ng/geometry/ng_margin_strut.h" | 11 #include "core/layout/ng/geometry/ng_margin_strut.h" |
12 #include "core/layout/ng/geometry/ng_physical_size.h" | 12 #include "core/layout/ng/geometry/ng_physical_size.h" |
13 #include "core/layout/ng/ng_exclusion.h" | 13 #include "core/layout/ng/ng_exclusion.h" |
14 #include "core/layout/ng/ng_layout_opportunity_iterator.h" | 14 #include "core/layout/ng/ng_layout_opportunity_iterator.h" |
15 #include "core/layout/ng/ng_writing_mode.h" | 15 #include "core/layout/ng/ng_writing_mode.h" |
16 #include "platform/heap/Handle.h" | 16 #include "platform/heap/Handle.h" |
17 #include "platform/text/TextDirection.h" | 17 #include "platform/text/TextDirection.h" |
18 #include "wtf/Optional.h" | 18 #include "platform/wtf/Optional.h" |
19 #include "wtf/RefCounted.h" | 19 #include "platform/wtf/RefCounted.h" |
20 #include "wtf/text/WTFString.h" | 20 #include "platform/wtf/text/WTFString.h" |
21 | 21 |
22 namespace blink { | 22 namespace blink { |
23 | 23 |
24 class LayoutBox; | 24 class LayoutBox; |
25 | 25 |
26 enum NGFragmentationType { | 26 enum NGFragmentationType { |
27 kFragmentNone, | 27 kFragmentNone, |
28 kFragmentPage, | 28 kFragmentPage, |
29 kFragmentColumn, | 29 kFragmentColumn, |
30 kFragmentRegion | 30 kFragmentRegion |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 }; | 189 }; |
190 | 190 |
191 inline std::ostream& operator<<(std::ostream& stream, | 191 inline std::ostream& operator<<(std::ostream& stream, |
192 const NGConstraintSpace& value) { | 192 const NGConstraintSpace& value) { |
193 return stream << value.ToString(); | 193 return stream << value.ToString(); |
194 } | 194 } |
195 | 195 |
196 } // namespace blink | 196 } // namespace blink |
197 | 197 |
198 #endif // NGConstraintSpace_h | 198 #endif // NGConstraintSpace_h |
OLD | NEW |