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

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

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Missing file :( Created 5 years, 4 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: Source/core/css/parser/CSSParserToken.h
diff --git a/Source/core/css/parser/CSSParserToken.h b/Source/core/css/parser/CSSParserToken.h
index 75e45a545debe282550e92ce3a612a2c5fc98185..d5b3550c4dc7192188ab2ccf1c7b0ab1331457c6 100644
--- a/Source/core/css/parser/CSSParserToken.h
+++ b/Source/core/css/parser/CSSParserToken.h
@@ -63,6 +63,8 @@ enum HashTokenType {
HashTokenUnrestricted,
};
+class CSSVariableData;
+
class CORE_EXPORT CSSParserToken {
public:
enum BlockType {
@@ -105,6 +107,8 @@ public:
UChar32 unicodeRangeStart() const { ASSERT(m_type == UnicodeRangeToken); return m_unicodeRange.start; }
UChar32 unicodeRangeEnd() const { ASSERT(m_type == UnicodeRangeToken); return m_unicodeRange.end; }
+ bool valueIs8Bit() const { return m_valueIs8Bit; }
+
CSSPropertyID parseAsUnresolvedCSSPropertyID() const;
void serialize(StringBuilder&) const;
@@ -138,6 +142,8 @@ private:
UChar32 end;
} m_unicodeRange;
};
+
+ friend CSSVariableData;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698