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 d13ae72455a31c97087591f7aa291a382949fbc1..da98c2d7b42e39e0cf216affe8a3ffbd0d5edbc1 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h |
@@ -168,6 +168,7 @@ private: |
bool consumeColumns(bool important); |
+ enum TrackSizeRestriction { FixedSizeOnly, AllowAll }; |
PassRefPtrWillBeRawPtr<CSSValue> parseGridPosition(); |
bool parseIntegerOrCustomIdentFromGridPosition(RefPtrWillBeRawPtr<CSSPrimitiveValue>& numericValue, RefPtrWillBeRawPtr<CSSCustomIdentValue>& gridLineName); |
bool parseGridItemPositionShorthand(CSSPropertyID, bool important); |
@@ -178,9 +179,9 @@ private: |
bool parseGridGapShorthand(bool important); |
bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&); |
PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(); |
- bool parseGridTrackRepeatFunction(CSSValueList&); |
- PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inputList); |
- PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); |
+ bool parseGridTrackRepeatFunction(CSSValueList&, bool& isAutoRepeat); |
+ PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inputList, TrackSizeRestriction = AllowAll); |
+ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*, TrackSizeRestriction = AllowAll); |
bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); |
PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); |
bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNamesValue* = nullptr); |