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

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

Issue 2099513002: [Typed OM] Rename TransformValue -> CSSTransformValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-transformcomponent
Patch Set: sync to head Created 4 years, 6 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/TransformValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/TransformValue.h b/third_party/WebKit/Source/core/css/cssom/TransformValue.h
deleted file mode 100644
index b8fb31b451ddb99c5765e95ae7ec51a1407876c0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/css/cssom/TransformValue.h
+++ /dev/null
@@ -1,61 +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 TransformValue_h
-#define TransformValue_h
-
-#include "bindings/core/v8/Iterable.h"
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "core/CoreExport.h"
-#include "core/css/cssom/CSSStyleValue.h"
-#include "core/css/cssom/CSSTransformComponent.h"
-#include "platform/heap/HeapAllocator.h"
-
-namespace blink {
-
-class CORE_EXPORT TransformValue final : public CSSStyleValue, public ValueIterable<CSSTransformComponent*> {
- WTF_MAKE_NONCOPYABLE(TransformValue);
- DEFINE_WRAPPERTYPEINFO();
-public:
- static TransformValue* create()
- {
- return new TransformValue();
- }
-
- static TransformValue* create(const HeapVector<Member<CSSTransformComponent>>& transformComponents)
- {
- return new TransformValue(transformComponents);
- }
-
- static TransformValue* fromCSSValue(const CSSValue&);
-
- bool is2D() const;
-
- CSSValue* toCSSValue() const override;
-
- StyleValueType type() const override { return TransformType; }
-
- CSSTransformComponent* componentAtIndex(int index) { return m_transformComponents.at(index); }
-
- size_t size() { return m_transformComponents.size(); }
-
- DEFINE_INLINE_VIRTUAL_TRACE()
- {
- visitor->trace(m_transformComponents);
- CSSStyleValue::trace(visitor);
- }
-
-private:
- TransformValue() {}
- TransformValue(const HeapVector<Member<CSSTransformComponent>>& transformComponents) : CSSStyleValue(),
- m_transformComponents(transformComponents) {}
-
- HeapVector<Member<CSSTransformComponent>> m_transformComponents;
-
- IterationSource* startIteration(ScriptState*, ExceptionState&) override;
-};
-
-} // namespace blink
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698