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

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

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Post-merge Created 5 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/CSSParserToken.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserToken.h b/third_party/WebKit/Source/core/css/parser/CSSParserToken.h
index 2576ee136f3daf19c6a55629afd0b28ea6123f09..ccda7624ffd3e330e76594f235ce94efdc2a9182 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserToken.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserToken.h
@@ -64,6 +64,8 @@ enum HashTokenType {
HashTokenUnrestricted,
};
+class CSSVariableData;
+
class CORE_EXPORT CSSParserToken {
WTF_MAKE_FAST_ALLOCATED(CSSParserToken);
public:
@@ -109,6 +111,10 @@ public:
CSSValueID id() const;
CSSValueID functionId() const;
+ bool needsStringBacking() const;
Timothy Loh 2015/09/30 02:09:28 needs -> has?
+
+ bool valueIs8Bit() const { return m_valueIs8Bit; }
+
CSSPropertyID parseAsUnresolvedCSSPropertyID() const;
void serialize(StringBuilder&) const;
@@ -143,6 +149,8 @@ private:
UChar32 end;
} m_unicodeRange;
};
+
+ friend CSSVariableData;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698