| Index: third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h
|
| index 449b6c56915a51e996d891f51193fe5233c862e5..81a2e3bfe48d53406076124fb5f4597ea98a7675 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h
|
| @@ -9,19 +9,23 @@
|
| #include "core/layout/ng/ng_constraint_space.h"
|
| #include "core/layout/ng/ng_floating_object.h"
|
| #include "core/layout/ng/ng_fragment_builder.h"
|
| +#include "core/layout/ng/ng_positioned_float.h"
|
|
|
| namespace blink {
|
|
|
| // Positions {@code floating_object} into {@code new_parent_space}.
|
| -// @returns Logical offset of the positioned float.
|
| -CORE_EXPORT NGLogicalOffset PositionFloat(NGFloatingObject*,
|
| - NGConstraintSpace* new_parent_space);
|
| +// @returns A positioned float.
|
| +CORE_EXPORT NGPositionedFloat
|
| +PositionFloat(NGFloatingObject*, NGConstraintSpace* new_parent_space);
|
| +
|
| +// Positions the list of {@code floating_objects}. Adds them as exclusions to
|
| +// {@code space}.
|
| +CORE_EXPORT const Vector<NGPositionedFloat> PositionFloats(
|
| + LayoutUnit origin_block_offset,
|
| + LayoutUnit from_block_offset,
|
| + const Vector<RefPtr<NGFloatingObject>>& floating_objects,
|
| + NGConstraintSpace* space);
|
|
|
| -// Positions the list of floats by updating their {@code logical_offset}.
|
| -void PositionFloats(LayoutUnit origin_block_offset,
|
| - LayoutUnit from_block_offset,
|
| - const Vector<RefPtr<NGFloatingObject>>&,
|
| - NGConstraintSpace*);
|
| } // namespace blink
|
|
|
| #endif // NGFloatsUtils_h
|
|
|