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

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

Issue 1318093002: Simplify parseShadowValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix ASSERT 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 4f199bb0754e1cc97e8fbe871cdbc1374f578949..4e1f07b1f0e088614b066a9baccb1eec2606a49a 100644
--- a/Source/core/css/parser/CSSPropertyParser.h
+++ b/Source/core/css/parser/CSSPropertyParser.h
@@ -44,6 +44,7 @@ class CSSParserValueList;
class CSSPrimitiveValue;
class CSSProperty;
class CSSQuadValue;
+class CSSShadowValue;
class CSSValue;
class CSSValueList;
class StylePropertyShorthand;
@@ -210,6 +211,7 @@ private:
// CSS3 Parsing Routines (for properties specific to CSS3)
PassRefPtrWillBeRawPtr<CSSValueList> parseShadow(CSSParserValueList*, CSSPropertyID);
+ PassRefPtrWillBeRawPtr<CSSShadowValue> parseSingleShadow(CSSParserValueList*, bool allowInset = false, unsigned maxLength = 4);
Timothy Loh 2015/09/04 05:04:51 Maybe just allowSpread instead of maxLength? Also
bool parseBorderImageShorthand(CSSPropertyID, bool important);
PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID);
bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&);
« no previous file with comments | « no previous file | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | Source/core/css/parser/CSSPropertyParser.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698