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

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

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/CSSShadowValue.h ('k') | Source/core/css/CSSValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSShadowValue.cpp
diff --git a/Source/core/css/ShadowValue.cpp b/Source/core/css/CSSShadowValue.cpp
similarity index 80%
rename from Source/core/css/ShadowValue.cpp
rename to Source/core/css/CSSShadowValue.cpp
index 1ee8b1d5e630ebc2eca429527efd5a7dae1d1cc4..57cb927814cd3952ee3807ec4da0d3e1b0a10754 100644
--- a/Source/core/css/ShadowValue.cpp
+++ b/Source/core/css/CSSShadowValue.cpp
@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
-#include "core/css/ShadowValue.h"
+#include "core/css/CSSShadowValue.h"
#include "core/css/CSSPrimitiveValue.h"
#include "wtf/text/StringBuilder.h"
@@ -27,23 +27,23 @@
namespace WebCore {
// Used for text-shadow and box-shadow
-ShadowValue::ShadowValue(PassRefPtr<CSSPrimitiveValue> _x,
- PassRefPtr<CSSPrimitiveValue> _y,
- PassRefPtr<CSSPrimitiveValue> _blur,
- PassRefPtr<CSSPrimitiveValue> _spread,
- PassRefPtr<CSSPrimitiveValue> _style,
- PassRefPtr<CSSPrimitiveValue> _color)
+CSSShadowValue::CSSShadowValue(PassRefPtr<CSSPrimitiveValue> x,
+ PassRefPtr<CSSPrimitiveValue> y,
+ PassRefPtr<CSSPrimitiveValue> blur,
+ PassRefPtr<CSSPrimitiveValue> spread,
+ PassRefPtr<CSSPrimitiveValue> style,
+ PassRefPtr<CSSPrimitiveValue> color)
: CSSValue(ShadowClass)
- , x(_x)
- , y(_y)
- , blur(_blur)
- , spread(_spread)
- , style(_style)
- , color(_color)
+ , x(x)
+ , y(y)
+ , blur(blur)
+ , spread(spread)
+ , style(style)
+ , color(color)
{
}
-String ShadowValue::customCssText() const
+String CSSShadowValue::customCssText() const
{
StringBuilder text;
@@ -78,7 +78,7 @@ String ShadowValue::customCssText() const
return text.toString();
}
-bool ShadowValue::equals(const ShadowValue& other) const
+bool CSSShadowValue::equals(const CSSShadowValue& other) const
{
return compareCSSValuePtr(color, other.color)
&& compareCSSValuePtr(x, other.x)
« no previous file with comments | « Source/core/css/CSSShadowValue.h ('k') | Source/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698