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

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

Issue 2310823002: Skeleton implementation of CSS Properties and Values API (Closed)
Patch Set: fix stylevardata copy ctor Created 4 years, 3 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: third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
index ea61231189c671bdc3ba2000b2ecc483948bfb53..ba269d39e5cdac05ca5952d947adef3047edb1d6 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
@@ -14,12 +14,14 @@
namespace blink {
class CSSCustomPropertyDeclaration;
+class CSSVariableReferenceValue;
class CORE_EXPORT CSSVariableParser {
public:
static bool containsValidVariableReferences(CSSParserTokenRange);
static CSSCustomPropertyDeclaration* parseDeclarationValue(const AtomicString&, CSSParserTokenRange);
+ static CSSVariableReferenceValue* parseRegisteredPropertyValue(CSSParserTokenRange, bool requireVarReference);
static bool isValidVariableName(const CSSParserToken&);
static bool isValidVariableName(const String&);

Powered by Google App Engine
This is Rietveld 408576698