Index: Source/core/css/CSSShadowValue.h |
diff --git a/Source/core/css/ShadowValue.h b/Source/core/css/CSSShadowValue.h |
similarity index 82% |
rename from Source/core/css/ShadowValue.h |
rename to Source/core/css/CSSShadowValue.h |
index 6e0192e4638eca87feadb3949c87987f1144a008..dd90ea9c1648898c586a74d5eed0f63d5282b38c 100644 |
--- a/Source/core/css/ShadowValue.h |
+++ b/Source/core/css/CSSShadowValue.h |
@@ -18,8 +18,8 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-#ifndef ShadowValue_h |
-#define ShadowValue_h |
+#ifndef CSSShadowValue_h |
+#define CSSShadowValue_h |
#include "core/css/CSSValue.h" |
#include "wtf/PassRefPtr.h" |
@@ -30,21 +30,21 @@ namespace WebCore { |
class CSSPrimitiveValue; |
// Used for text-shadow and box-shadow |
-class ShadowValue : public CSSValue { |
+class CSSShadowValue : public CSSValue { |
public: |
- static PassRefPtr<ShadowValue> create(PassRefPtr<CSSPrimitiveValue> x, |
+ static PassRefPtr<CSSShadowValue> create(PassRefPtr<CSSPrimitiveValue> x, |
PassRefPtr<CSSPrimitiveValue> y, |
PassRefPtr<CSSPrimitiveValue> blur, |
PassRefPtr<CSSPrimitiveValue> spread, |
PassRefPtr<CSSPrimitiveValue> style, |
PassRefPtr<CSSPrimitiveValue> color) |
{ |
- return adoptRef(new ShadowValue(x, y, blur, spread, style, color)); |
+ return adoptRef(new CSSShadowValue(x, y, blur, spread, style, color)); |
} |
String customCssText() const; |
- bool equals(const ShadowValue&) const; |
+ bool equals(const CSSShadowValue&) const; |
RefPtr<CSSPrimitiveValue> x; |
RefPtr<CSSPrimitiveValue> y; |
@@ -54,7 +54,7 @@ public: |
RefPtr<CSSPrimitiveValue> color; |
private: |
- ShadowValue(PassRefPtr<CSSPrimitiveValue> x, |
+ CSSShadowValue(PassRefPtr<CSSPrimitiveValue> x, |
PassRefPtr<CSSPrimitiveValue> y, |
PassRefPtr<CSSPrimitiveValue> blur, |
PassRefPtr<CSSPrimitiveValue> spread, |
@@ -62,6 +62,8 @@ private: |
PassRefPtr<CSSPrimitiveValue> color); |
}; |
+DEFINE_CSS_VALUE_TYPE_CASTS(ShadowValue); |
+ |
} // namespace |
#endif |