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

Unified Diff: Source/core/css/resolver/CSSVariableResolver.h

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/resolver/CSSVariableResolver.h
diff --git a/Source/core/css/resolver/CSSVariableResolver.h b/Source/core/css/resolver/CSSVariableResolver.h
new file mode 100644
index 0000000000000000000000000000000000000000..e2cb014e47edc2b1ad4aed68bcbef0900150ce97
--- /dev/null
+++ b/Source/core/css/resolver/CSSVariableResolver.h
@@ -0,0 +1,23 @@
+// 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 CSSVariableResolver_h
+#define CSSVariableResolver_h
+
+#include "core/CSSPropertyNames.h"
+
+namespace blink {
+
+class CSSPrimitiveValue;
+class StyleResolverState;
+
+class CSSVariableResolver {
+public:
+ static void resolveVariableDefinitions(StyleResolverState&);
+ static void resolveAndApplyVariableReferences(StyleResolverState&, CSSPropertyID, CSSPrimitiveValue*);
+};
+
+} // namespace blink
+
+#endif // CSSVariableResolver

Powered by Google App Engine
This is Rietveld 408576698