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

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

Issue 1976493002: Typed CSSOM: Rename Rotation and RotationTransformComponent to CSSRotation (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/CSSRotation.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/CSSRotation.h
diff --git a/third_party/WebKit/Source/core/css/cssom/RotationTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/CSSRotation.h
similarity index 67%
rename from third_party/WebKit/Source/core/css/cssom/RotationTransformComponent.h
rename to third_party/WebKit/Source/core/css/cssom/CSSRotation.h
index cddacc082890e87bd468ad9717784e868300858a..97557d8ecada492f41afba21056bb57ff5175271 100644
--- a/third_party/WebKit/Source/core/css/cssom/RotationTransformComponent.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSRotation.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 RotationTransformComponent_h
-#define RotationTransformComponent_h
+#ifndef CSSRotation_h
+#define CSSRotation_h
#include "core/css/cssom/MatrixTransformComponent.h"
#include "core/css/cssom/TransformComponent.h"
namespace blink {
-class CORE_EXPORT RotationTransformComponent final : public TransformComponent {
- WTF_MAKE_NONCOPYABLE(RotationTransformComponent);
+class CORE_EXPORT CSSRotation final : public TransformComponent {
+ WTF_MAKE_NONCOPYABLE(CSSRotation);
DEFINE_WRAPPERTYPEINFO();
public:
- static RotationTransformComponent* create(double angle)
+ static CSSRotation* create(double angle)
{
- return new RotationTransformComponent(angle);
+ return new CSSRotation(angle);
}
- static RotationTransformComponent* create(double angle, double x, double y, double z)
+ static CSSRotation* create(double angle, double x, double y, double z)
{
- return new RotationTransformComponent(angle, x, y, z);
+ return new CSSRotation(angle, x, y, z);
}
double angle() const { return m_angle; }
@@ -40,7 +40,7 @@ public:
CSSFunctionValue* toCSSValue() const override;
private:
- RotationTransformComponent(double angle)
+ CSSRotation(double angle)
: m_angle(angle)
, m_x(0)
, m_y(0)
@@ -48,7 +48,7 @@ private:
, m_is2D(true)
{ }
- RotationTransformComponent(double angle, double x, double y, double z)
+ CSSRotation(double angle, double x, double y, double z)
: m_angle(angle)
, m_x(x)
, m_y(y)
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/CSSRotation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698