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

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

Issue 15797004: Cleanup WebKit prefixed names for classes in css directory. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
Index: Source/core/css/CSSTransformValue.cpp
diff --git a/Source/core/css/WebKitCSSTransformValue.cpp b/Source/core/css/CSSTransformValue.cpp
similarity index 73%
rename from Source/core/css/WebKitCSSTransformValue.cpp
rename to Source/core/css/CSSTransformValue.cpp
index 6719d9e59ddfabf1fd9091ac78e8bb05418c752c..20f291d6ef466502a13830c856ea86e99687c1e7 100644
--- a/Source/core/css/WebKitCSSTransformValue.cpp
+++ b/Source/core/css/CSSTransformValue.cpp
@@ -24,12 +24,12 @@
*/
#include "config.h"
-#include "core/css/WebKitCSSTransformValue.h"
+#include "core/css/CSSTransformValue.h"
#include "core/css/CSSValueList.h"
#include "core/dom/WebCoreMemoryInstrumentation.h"
-#include <wtf/PassRefPtr.h>
-#include <wtf/text/WTFString.h>
+#include "wtf/PassRefPtr.h"
+#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -59,43 +59,43 @@ const char* const transformNamePrefixes[] = {
"matrix3d("
};
-static inline String transformValueToCssString(WebKitCSSTransformValue::TransformOperationType operation, const String& value)
+static inline String transformValueToCssString(CSSTransformValue::TransformOperationType operation, const String& value)
{
- if (operation != WebKitCSSTransformValue::UnknownTransformOperation) {
+ if (operation != CSSTransformValue::UnknownTransformOperation) {
ASSERT_WITH_SECURITY_IMPLICATION(static_cast<size_t>(operation) < WTF_ARRAY_LENGTH(transformNamePrefixes));
return transformNamePrefixes[operation] + value + ")";
}
return String();
}
-WebKitCSSTransformValue::WebKitCSSTransformValue(TransformOperationType op)
- : CSSValueList(WebKitCSSTransformClass, CommaSeparator)
+CSSTransformValue::CSSTransformValue(TransformOperationType op)
+ : CSSValueList(CSSTransformClass, CommaSeparator)
, m_type(op)
{
}
-String WebKitCSSTransformValue::customCssText() const
+String CSSTransformValue::customCssText() const
{
return transformValueToCssString(m_type, CSSValueList::customCssText());
}
-String WebKitCSSTransformValue::customSerializeResolvingVariables(const HashMap<AtomicString, String>& variables) const
+String CSSTransformValue::customSerializeResolvingVariables(const HashMap<AtomicString, String>& variables) const
{
return transformValueToCssString(m_type, CSSValueList::customSerializeResolvingVariables(variables));
}
-WebKitCSSTransformValue::WebKitCSSTransformValue(const WebKitCSSTransformValue& cloneFrom)
+CSSTransformValue::CSSTransformValue(const CSSTransformValue& cloneFrom)
: CSSValueList(cloneFrom)
, m_type(cloneFrom.m_type)
{
}
-PassRefPtr<WebKitCSSTransformValue> WebKitCSSTransformValue::cloneForCSSOM() const
+PassRefPtr<CSSTransformValue> CSSTransformValue::cloneForCSSOM() const
{
- return adoptRef(new WebKitCSSTransformValue(*this));
+ return adoptRef(new CSSTransformValue(*this));
}
-void WebKitCSSTransformValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
+void CSSTransformValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
{
MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
CSSValueList::reportDescendantMemoryUsage(memoryObjectInfo);

Powered by Google App Engine
This is Rietveld 408576698