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

Unified Diff: third_party/WebKit/Source/core/css/cssom/PerspectiveTransformComponent.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/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

Powered by Google App Engine
This is Rietveld 408576698