Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h |
index 006910e38d157945232d367f114a4e31df3269f1..8022273756160648a53193b8a0a576217cdf0ddc 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h |
@@ -88,6 +88,12 @@ class CSSPropertyParser { |
bool Consume2Values(const StylePropertyShorthand&, bool important); |
bool Consume4Values(const StylePropertyShorthand&, bool important); |
+ enum class LonghandsOrder { kNoOrder, kOrderBy2Values, kOrderBy4Values }; |
+ |
+ bool ConsumeShorthandViaLonghand(const StylePropertyShorthand&, |
+ bool important, |
+ LonghandsOrder); |
+ |
// Legacy parsing allows <string>s for animation-name |
bool ConsumeAnimationShorthand(const StylePropertyShorthand&, |
bool use_legacy_parsing, |