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

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

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ToTed 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/CSSVariableParser.h
diff --git a/Source/core/css/parser/CSSVariableParser.h b/Source/core/css/parser/CSSVariableParser.h
new file mode 100644
index 0000000000000000000000000000000000000000..cda5763f4b4d0b2fd19f4ed66ac2f12277c7b436
--- /dev/null
+++ b/Source/core/css/parser/CSSVariableParser.h
@@ -0,0 +1,26 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CSSVariableParser_h
+#define CSSVariableParser_h
+
+#include "platform/heap/Handle.h"
+#include "wtf/RefPtr.h"
+#include "wtf/text/AtomicString.h"
+
+namespace blink {
+
+class CSSCustomVariableValue;
+class CSSParserTokenRange;
+
+class CSSVariableParser {
+public:
+ static bool containsValidVariableReferences(const CSSParserTokenRange&);
+
+ static PassRefPtrWillBeRawPtr<CSSCustomVariableValue> parseDeclarationValue(const AtomicString&, CSSParserTokenRange&);
+};
+
+} // namespace blink
+
+#endif // CSSVariableParser_h

Powered by Google App Engine
This is Rietveld 408576698