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

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

Issue 1096963002: Make UseCounters work on aliased properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « Source/core/css/StylePropertySet.cpp ('k') | Source/core/css/parser/CSSParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParser.h
diff --git a/Source/core/css/parser/CSSParser.h b/Source/core/css/parser/CSSParser.h
index f0328ec280bb5fed8780a65a7e7d76cd777442b8..41f9e72953b6933d79939be079304f952e33e90b 100644
--- a/Source/core/css/parser/CSSParser.h
+++ b/Source/core/css/parser/CSSParser.h
@@ -34,7 +34,7 @@ public:
static void parseSelector(const CSSParserContext&, const String&, CSSSelectorList&);
// TODO(timloh): Split into parseDeclarationList and parseDeclarationListForInspector
static bool parseDeclarationList(const CSSParserContext&, MutableStylePropertySet*, const String&, CSSParserObserver*, StyleSheetContents* contextStyleSheet);
- static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String&, bool important, CSSParserMode, StyleSheetContents*);
+ static bool parseValue(MutableStylePropertySet*, CSSPropertyID unresolvedProperty, const String&, bool important, CSSParserMode, StyleSheetContents*);
// This is for non-shorthands only
static PassRefPtrWillBeRawPtr<CSSValue> parseSingleValue(CSSPropertyID, const String&, const CSSParserContext& = strictCSSParserContext());
@@ -53,10 +53,12 @@ public:
static StyleColor colorFromRGBColorString(const String&);
private:
- static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String&, bool important, const CSSParserContext&);
- static bool parseFastPath(MutableStylePropertySet*, CSSPropertyID, const String&, bool important, CSSParserMode);
+ static bool parseValue(MutableStylePropertySet*, CSSPropertyID unresolvedProperty, const String&, bool important, const CSSParserContext&);
+ static bool parseFastPath(MutableStylePropertySet*, CSSPropertyID unresolvedProperty, const String&, bool important, CSSParserMode);
};
+// TODO(timloh): It's weird that these are declared here but defined in CSSPropertyParser.h
+CSSPropertyID unresolvedCSSPropertyID(const String&);
CSSPropertyID cssPropertyID(const String&);
} // namespace blink
« no previous file with comments | « Source/core/css/StylePropertySet.cpp ('k') | Source/core/css/parser/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698