Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: Source/core/css/CSSShadowValue.h

Issue 26234003: Add *CSS* prefix to ShadowValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSParser-in.cpp ('k') | Source/core/css/CSSShadowValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/css/CSSParser-in.cpp ('k') | Source/core/css/CSSShadowValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698