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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSScale.h

Issue 2010383002: Typed CSSOM: Rename Scale and ScaleTransformComponent to CSSScale (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/CSSScale.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/cssom/CSSScale.h
diff --git a/third_party/WebKit/Source/core/css/cssom/ScaleTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/CSSScale.h
similarity index 59%
rename from third_party/WebKit/Source/core/css/cssom/ScaleTransformComponent.h
rename to third_party/WebKit/Source/core/css/cssom/CSSScale.h
index 1f52eb2a3d5cd46cec99285d3684637f4f8e103a..67c27f81b6618110d35ed23907f14c45184f300d 100644
--- a/third_party/WebKit/Source/core/css/cssom/ScaleTransformComponent.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSScale.h
@@ -2,26 +2,26 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ScaleTransformComponent_h
-#define ScaleTransformComponent_h
+#ifndef CSSScale_h
+#define CSSScale_h
#include "core/css/cssom/MatrixTransformComponent.h"
#include "core/css/cssom/TransformComponent.h"
namespace blink {
-class CORE_EXPORT ScaleTransformComponent final : public TransformComponent {
- WTF_MAKE_NONCOPYABLE(ScaleTransformComponent);
+class CORE_EXPORT CSSScale final : public TransformComponent {
+ WTF_MAKE_NONCOPYABLE(CSSScale);
DEFINE_WRAPPERTYPEINFO();
public:
- static ScaleTransformComponent* create(double x, double y)
+ static CSSScale* create(double x, double y)
{
- return new ScaleTransformComponent(x, y);
+ return new CSSScale(x, y);
}
- static ScaleTransformComponent* create(double x, double y, double z)
+ static CSSScale* create(double x, double y, double z)
{
- return new ScaleTransformComponent(x, y, z);
+ return new CSSScale(x, y, z);
}
double x() const { return m_x; }
@@ -39,8 +39,8 @@ public:
CSSFunctionValue* toCSSValue() const override;
private:
- ScaleTransformComponent(double x, double y) : m_x(x), m_y(y), m_z(1), m_is2D(true) { }
- ScaleTransformComponent(double x, double y, double z) : m_x(x), m_y(y), m_z(z), m_is2D(false) { }
+ CSSScale(double x, double y) : m_x(x), m_y(y), m_z(1), m_is2D(true) { }
+ CSSScale(double x, double y, double z) : m_x(x), m_y(y), m_z(z), m_is2D(false) { }
double m_x;
double m_y;
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/CSSScale.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698