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 95151cc9e863cfc917fade2a82b04378dd7993f2..965f2f3e5c7619f7a56dd48b4b061c5dc0287dea 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.h |
@@ -184,6 +184,25 @@ struct CORE_EXPORT NGExclusion { |
Type type; |
}; |
+struct CORE_EXPORT NGExclusions { |
+ // Default constructor. |
+ NGExclusions(); |
+ |
+ // Copy constructor. |
+ NGExclusions(const NGExclusions& other); |
+ |
+ Vector<std::unique_ptr<const NGExclusion>> storage; |
+ |
+ // Last left/right float exclusions are used to enforce the top edge alignment |
+ // rule for floats and for the support of CSS "clear" property. |
+ const NGExclusion* last_left_float; // Owned by storage. |
+ const NGExclusion* last_right_float; // Owned by storage. |
+ |
+ NGExclusions& operator=(const NGExclusions& other); |
+ |
+ void Add(const NGExclusion& exclusion); |
+}; |
+ |
struct NGPixelSnappedPhysicalRect { |
int top; |
int left; |