Index: third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.h |
diff --git a/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.h |
deleted file mode 100644 |
index af69d465a02793754036069e805c5a16b5268329..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.h |
+++ /dev/null |
@@ -1,46 +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 PerspectiveTransformComponent_h |
-#define PerspectiveTransformComponent_h |
- |
-#include "core/CoreExport.h" |
-#include "core/css/cssom/CSSLengthValue.h" |
-#include "core/css/cssom/TransformComponent.h" |
- |
-namespace blink { |
- |
-class ExceptionState; |
- |
-class CORE_EXPORT PerspectiveTransformComponent : public TransformComponent { |
- WTF_MAKE_NONCOPYABLE(PerspectiveTransformComponent); |
- DEFINE_WRAPPERTYPEINFO(); |
-public: |
- static PerspectiveTransformComponent* 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. |
- MatrixTransformComponent* asMatrix() const override { return nullptr; } |
- |
- CSSFunctionValue* toCSSValue() const override; |
- |
- DEFINE_INLINE_VIRTUAL_TRACE() |
- { |
- visitor->trace(m_length); |
- TransformComponent::trace(visitor); |
- } |
- |
-private: |
- PerspectiveTransformComponent(const CSSLengthValue* length) : m_length(length) {} |
- |
- Member<const CSSLengthValue> m_length; |
-}; |
- |
-} // namespace blink |
- |
-#endif |