| 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;
|
| };
|
|
|