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

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

Issue 2018313003: Typed CSSOM: Rename Skew and SkewTransformComponent to CSSSkew (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h
diff --git a/third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h
deleted file mode 100644
index a6fd9bcd1ea4c0aa879baa7c4abcbc86f0fa8176..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SkewTransformComponent_h
-#define SkewTransformComponent_h
-
-#include "core/css/cssom/MatrixTransformComponent.h"
-#include "core/css/cssom/TransformComponent.h"
-
-namespace blink {
-
-class CORE_EXPORT SkewTransformComponent final : public TransformComponent {
- WTF_MAKE_NONCOPYABLE(SkewTransformComponent);
- DEFINE_WRAPPERTYPEINFO();
-public:
- static SkewTransformComponent* create(double ax, double ay)
- {
- return new SkewTransformComponent(ax, ay);
- }
-
- double ax() const { return m_ax; }
- double ay() const { return m_ay; }
-
- TransformComponentType type() const override { return SkewType; }
-
- MatrixTransformComponent* asMatrix() const override
- {
- return MatrixTransformComponent::skew(m_ax, m_ay);
- }
-
- CSSFunctionValue* toCSSValue() const override;
-
-private:
- SkewTransformComponent(double ax, double ay) : TransformComponent(), m_ax(ax), m_ay(ay) { }
-
- double m_ax;
- double m_ay;
-};
-
-} // namespace blink
-
-#endif
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/Skew.idl ('k') | third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698