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

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

Issue 1459633004: Pull CSS-wide keyword handling out of LegacyCSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ruletype
Patch Set: rebase Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a642fd968fe3873c25a2ec191a82c94211c04ab5..e130e65ac63c49302e264f04e971fd533a490da9 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
@@ -92,12 +92,16 @@ public:
static bool isValidNumericValue(double);
private:
- CSSPropertyParser(CSSParserValueList*, const CSSParserTokenRange&, const CSSParserContext&,
+ CSSPropertyParser(const CSSParserTokenRange&, const CSSParserContext&,
WillBeHeapVector<CSSProperty, 256>&);
- bool parseValue(CSSPropertyID, bool important);
+ // TODO(timloh): Rename once the CSSParserValue-based parseValue is removed
+ bool parseValueStart(CSSPropertyID unresolvedProperty, bool important);
+ bool consumeCSSWideKeyword(CSSPropertyID unresolvedProperty, bool important);
PassRefPtrWillBeRawPtr<CSSValue> parseSingleValue(CSSPropertyID);
+ bool parseValue(CSSPropertyID, bool important);
+
bool inShorthand() const { return m_inParseShorthand; }
bool inQuirksMode() const { return isQuirksModeBehavior(m_context.mode()); }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698