Chromium Code Reviews| Index: Source/core/css/PropertySetCSSStyleDeclaration.h |
| diff --git a/Source/core/css/PropertySetCSSStyleDeclaration.h b/Source/core/css/PropertySetCSSStyleDeclaration.h |
| index 96fabbe05d3b82fa0989a50acb1ddec60b85c731..7c4770befba0fb3fc96aab9403c7bb3ea9acce36 100644 |
| --- a/Source/core/css/PropertySetCSSStyleDeclaration.h |
| +++ b/Source/core/css/PropertySetCSSStyleDeclaration.h |
| @@ -27,6 +27,7 @@ |
| #define PropertySetCSSStyleDeclaration_h |
| #include "core/css/CSSStyleDeclaration.h" |
| +#include "core/css/CSSVariablesMap.h" |
| #include <wtf/HashMap.h> |
| namespace WebCore { |
| @@ -67,7 +68,14 @@ private: |
| virtual PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) OVERRIDE; |
| virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE; |
| virtual void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionCode&) OVERRIDE; |
| - |
| + |
| + virtual PassRefPtr<CSSVariablesMap> var() OVERRIDE { return CSSVariablesMap::create(this); } |
|
esprehn
2013/07/10 02:42:11
This doesn't need to be virtual, all subclasses ne
alancutter (OOO until 2018)
2013/07/10 11:18:13
Done.
|
| + virtual unsigned variableCount() const OVERRIDE; |
| + virtual String variableValue(const AtomicString& name) const OVERRIDE; |
| + virtual void setVariableValue(const AtomicString& name, const String& value, ExceptionCode&) OVERRIDE; |
| + virtual bool removeVariable(const AtomicString& name) OVERRIDE; |
| + virtual void clearVariables(ExceptionCode&) OVERRIDE; |
| + |
| virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRIDE; |
| virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE; |