Index: third_party/WebKit/Source/core/layout/ng/ng_units.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_units.h b/third_party/WebKit/Source/core/layout/ng/ng_units.h |
index 1f4b0f619675f42d576168e947bc35bb16df4211..3f1b9b44a618cfd19719288c37b192bdf0269f5c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.h |
@@ -51,6 +51,18 @@ struct NGLogicalOffset { |
bool operator==(const NGLogicalOffset& other) const; |
}; |
+// Origin (in logical coordinates) for a fragment or inline content. |
+struct NGLogicalOrigin { |
+ LayoutUnit inline_offset; |
+ LayoutUnit block_offset; |
+}; |
+ |
+// Leader point (in logical coordinates) for a text fragment. |
+struct NGLogicalLeader { |
+ LayoutUnit inline_offset; |
+ LayoutUnit block_offset; |
+}; |
+ |
// NGPhysicalOffset is the position of a rect (typically a fragment) relative to |
// its parent rect in the physical coordinate system. |
struct NGPhysicalOffset { |