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

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

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: with missing files 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/StyleResolverState.h
diff --git a/Source/core/css/resolver/StyleResolverState.h b/Source/core/css/resolver/StyleResolverState.h
index a3e013d189c7896de9c3e0518fbb0ccd7d8b72ca..7575e4081f3dcf3c72b250b9d46c86481b375b11 100644
--- a/Source/core/css/resolver/StyleResolverState.h
+++ b/Source/core/css/resolver/StyleResolverState.h
@@ -35,10 +35,12 @@
#include "core/style/CachedUAStyle.h"
#include "core/style/ComputedStyle.h"
#include "core/style/StyleInheritedData.h"
+#include "core/style/StyleVariableData.h"
namespace blink {
class CSSAnimationUpdate;
+class CSSVariableValue;
class FontDescription;
class StyleResolverState {
@@ -154,6 +156,8 @@ public:
void setHasDirAutoAttribute(bool value) { m_hasDirAutoAttribute = value; }
bool hasDirAutoAttribute() const { return m_hasDirAutoAttribute; }
+ bool documentUsesCSSVariables() const;
+
private:
ElementResolveContext m_elementContext;
RawPtrWillBeMember<Document> m_document;

Powered by Google App Engine
This is Rietveld 408576698