#ifndef CSSShadowValue_h
#define CSSShadowValue_h
#include "core/css/CSSValue.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
namespace WebCore {
class CSSPrimitiveValue;
class CSSShadowValue : public CSSValue {
public:
static PassRefPtrWillBeRawPtr<CSSShadowValue> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> x,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> y,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blur,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> spread,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> style,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> color)
{
return adoptRefWillBeRefCountedGarbageCollected(new CSSShadowValue(x, y, blur, spread, style, color));
}
String customCSSText() const;
bool equals(const CSSShadowValue&) const;
RefPtrWillBeMember<CSSPrimitiveValue> x;
RefPtrWillBeMember<CSSPrimitiveValue> y;
RefPtrWillBeMember<CSSPrimitiveValue> blur;
RefPtrWillBeMember<CSSPrimitiveValue> spread;
RefPtrWillBeMember<CSSPrimitiveValue> style;
RefPtrWillBeMember<CSSPrimitiveValue> color;
void traceAfterDispatch(Visitor*);
private:
CSSShadowValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> x,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> y,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blur,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> spread,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> style,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> color);
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSShadowValue, isShadowValue());
}
#endif