Index: third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
index 60006fdf687f0fdd1ba9f7350c2840e85b9ebb43..6dd79da1720a4b83ee8c3e9b767b09b46dca5619 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
@@ -60,6 +60,10 @@ class CORE_EXPORT NGConstraintSpaceBuilder final { |
NGConstraintSpaceBuilder& SetClearanceOffset( |
const WTF::Optional<LayoutUnit>& clearance_offset); |
+ void AddBaselineRequests(const Vector<NGBaselineRequest>&); |
+ NGConstraintSpaceBuilder& AddBaselineRequest(NGBaselineAlgorithmType, |
+ FontBaseline); |
+ |
// Creates a new constraint space. This may be called multiple times, for |
// example the constraint space will be different for a child which: |
// - Establishes a new formatting context. |
@@ -95,6 +99,7 @@ class CORE_EXPORT NGConstraintSpaceBuilder final { |
std::shared_ptr<NGExclusions> exclusions_; |
WTF::Optional<LayoutUnit> clearance_offset_; |
Vector<RefPtr<NGUnpositionedFloat>> unpositioned_floats_; |
+ Vector<NGBaselineRequest> baseline_requests_; |
}; |
} // namespace blink |