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

Unified Diff: third_party/WebKit/Source/core/css/CSSVariableData.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/CSSVariableData.h
diff --git a/third_party/WebKit/Source/core/css/CSSVariableData.h b/third_party/WebKit/Source/core/css/CSSVariableData.h
index 9d87799714d82b33022430387f0294ed0c9b07ab..5d3cb1b61eb27c03912c84c48ace505082f817d7 100644
--- a/third_party/WebKit/Source/core/css/CSSVariableData.h
+++ b/third_party/WebKit/Source/core/css/CSSVariableData.h
@@ -15,6 +15,7 @@
namespace blink {
class CSSParserTokenRange;
+class CSSSyntaxDescriptor;
class CSSVariableData : public RefCounted<CSSVariableData> {
WTF_MAKE_NONCOPYABLE(CSSVariableData);
@@ -30,7 +31,7 @@ public:
return adoptRef(new CSSVariableData(resolvedTokens, unresolvedData.m_backingString));
}
- CSSParserTokenRange tokenRange() { return m_tokens; }
+ CSSParserTokenRange tokenRange() const { return m_tokens; }
const Vector<CSSParserToken>& tokens() const { return m_tokens; }
@@ -38,6 +39,8 @@ public:
bool needsVariableResolution() const { return m_needsVariableResolution; }
+ const CSSValue* parseForSyntax(const CSSSyntaxDescriptor&) const;
+
StylePropertySet* propertySet();
private:
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp ('k') | third_party/WebKit/Source/core/css/CSSVariableData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698