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

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

Issue 2024023002: Typed CSSOM: Rename Perspective and PerspectiveTransformComponent to CSSPerspective (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/CSSPerspective.h
diff --git a/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/CSSPerspective.h
similarity index 66%
rename from third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.h
rename to third_party/WebKit/Source/core/css/cssom/CSSPerspective.h
index af69d465a02793754036069e805c5a16b5268329..587eb030669690b3a4d617a241f210dd47c06bbb 100644
--- a/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSPerspective.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PerspectiveTransformComponent_h
-#define PerspectiveTransformComponent_h
+#ifndef CSSPerspective_h
+#define CSSPerspective_h
#include "core/CoreExport.h"
#include "core/css/cssom/CSSLengthValue.h"
@@ -13,18 +13,18 @@ namespace blink {
class ExceptionState;
-class CORE_EXPORT PerspectiveTransformComponent : public TransformComponent {
- WTF_MAKE_NONCOPYABLE(PerspectiveTransformComponent);
+class CORE_EXPORT CSSPerspective : public TransformComponent {
+ WTF_MAKE_NONCOPYABLE(CSSPerspective);
DEFINE_WRAPPERTYPEINFO();
public:
- static PerspectiveTransformComponent* create(const CSSLengthValue*, ExceptionState&);
+ static CSSPerspective* create(const CSSLengthValue*, ExceptionState&);
// Bindings require a non const return value.
CSSLengthValue* length() const { return const_cast<CSSLengthValue*>(m_length.get()); }
TransformComponentType type() const override { return PerspectiveType; }
- // TODO: Implement asMatrix for PerspectiveTransformComponent.
+ // TODO: Implement asMatrix for CSSPerspective.
MatrixTransformComponent* asMatrix() const override { return nullptr; }
CSSFunctionValue* toCSSValue() const override;
@@ -36,7 +36,7 @@ public:
}
private:
- PerspectiveTransformComponent(const CSSLengthValue* length) : m_length(length) {}
+ CSSPerspective(const CSSLengthValue* length) : m_length(length) {}
Member<const CSSLengthValue> m_length;
};
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/CSSPerspective.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698