Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: Source/core/css/parser/CSSPropertyParser.h

Issue 1304993002: Change Rect and Quad to be CSSValues (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@split_counter_out_attempt_3
Patch Set: Review feedback Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/parser/CSSPropertyParser.h
diff --git a/Source/core/css/parser/CSSPropertyParser.h b/Source/core/css/parser/CSSPropertyParser.h
index 37d567d9dd67e2f4721ab6f02421c18ec2b8e0cd..4f199bb0754e1cc97e8fbe871cdbc1374f578949 100644
--- a/Source/core/css/parser/CSSPropertyParser.h
+++ b/Source/core/css/parser/CSSPropertyParser.h
@@ -43,6 +43,7 @@ struct CSSParserValue;
class CSSParserValueList;
class CSSPrimitiveValue;
class CSSProperty;
+class CSSQuadValue;
class CSSValue;
class CSSValueList;
class StylePropertyShorthand;
@@ -165,7 +166,7 @@ private:
bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNamesValue* = nullptr);
PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&);
- PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseClipShape();
+ PassRefPtrWillBeRawPtr<CSSQuadValue> parseClipShape();
bool parseLegacyPosition(CSSPropertyID, bool important);
bool parseItemPositionOverflowPosition(CSSPropertyID, bool important);
@@ -213,8 +214,8 @@ private:
PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID);
bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&);
bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageSliceValue>&);
- bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSPrimitiveValue>&);
- bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSPrimitiveValue>&);
+ bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&);
+ bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&);
bool parseBorderRadius(CSSPropertyID, bool important);
PassRefPtrWillBeRawPtr<CSSValue> parseReflect();
@@ -347,7 +348,7 @@ private:
inline bool validUnit(CSSParserValue* value, Units unitflags, ReleaseParsedCalcValueCondition releaseCalc = DoNotReleaseParsedCalcValue) { return validUnit(value, unitflags, m_context.mode(), releaseCalc); }
bool validUnit(CSSParserValue*, Units, CSSParserMode, ReleaseParsedCalcValueCondition releaseCalc = DoNotReleaseParsedCalcValue);
- bool parseBorderImageQuad(Units, RefPtrWillBeRawPtr<CSSPrimitiveValue>&);
+ bool parseBorderImageQuad(Units, RefPtrWillBeRawPtr<CSSQuadValue>&);
int colorIntFromValue(CSSParserValue*);
bool buildBorderImageParseContext(CSSPropertyID, BorderImageParseContext&);

Powered by Google App Engine
This is Rietveld 408576698