diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-09-10 19:10:20 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-09-10 19:10:20 +0200 |
commit | 284837daa07b29d6a63a748544a90b1f5842ac5c (patch) | |
tree | ecd258180bde91fe741e0cfd2638beb3c6da7e8e /Source/WebCore/css/CSSCalculationValue.h | |
parent | 2e2ba8ff45915f40ed3e014101269c175f2a89a0 (diff) | |
download | qtwebkit-284837daa07b29d6a63a748544a90b1f5842ac5c.tar.gz |
Imported WebKit commit 68645295d2e3e09af2c942f092556f06aa5f8b0d (http://svn.webkit.org/repository/webkit/trunk@128073)
New snapshot
Diffstat (limited to 'Source/WebCore/css/CSSCalculationValue.h')
-rwxr-xr-x | Source/WebCore/css/CSSCalculationValue.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/WebCore/css/CSSCalculationValue.h b/Source/WebCore/css/CSSCalculationValue.h index b25f7b31a..044cf32a4 100755 --- a/Source/WebCore/css/CSSCalculationValue.h +++ b/Source/WebCore/css/CSSCalculationValue.h @@ -52,6 +52,9 @@ enum CalculationCategory { CalcPercent, CalcPercentNumber, CalcPercentLength, +#if ENABLE(CSS_VARIABLES) + CalcVariable, +#endif CalcOther }; @@ -64,6 +67,10 @@ public: virtual double doubleValue() const = 0; virtual double computeLengthPx(RenderStyle* currentStyle, RenderStyle* rootStyle, double multiplier = 1.0, bool computingFontSize = false) const = 0; virtual String customCssText() const = 0; +#if ENABLE(CSS_VARIABLES) + virtual String serializeResolvingVariables(const HashMap<AtomicString, String>&) const = 0; + virtual bool hasVariableReference() const = 0; +#endif virtual void reportMemoryUsage(MemoryObjectInfo*) const = 0; @@ -97,6 +104,10 @@ public: double computeLengthPx(RenderStyle* currentStyle, RenderStyle* rootStyle, double multiplier = 1.0, bool computingFontSize = false) const; String customCssText() const; +#if ENABLE(CSS_VARIABLES) + String customSerializeResolvingVariables(const HashMap<AtomicString, String>&) const; + bool hasVariableReference() const; +#endif void reportDescendantMemoryUsage(MemoryObjectInfo*) const; |