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