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

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

Issue 1689723004: CSS Typed OM: Implement TransformValue::asMatrix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@computeLengthValue
Patch Set: Created 4 years, 10 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
index bc5c00a11441b7eb08631d093a1d9530598c1921..fed9ec5034879160b558c2ae74a27a701b77cb4e 100644
--- a/third_party/WebKit/Source/core/css/cssom/TransformValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/TransformValue.h
@@ -13,6 +13,8 @@
namespace blink {
+class ExceptionState;
+class MatrixTransformComponent;
class TransformComponent;
class CORE_EXPORT TransformValue final : public StyleValue, public ValueIterable<TransformComponent*> {
@@ -33,6 +35,8 @@ public:
PassRefPtrWillBeRawPtr<CSSValue> toCSSValue() const override;
+ MatrixTransformComponent* asMatrix(ExceptionState&) const;
+
StyleValueType type() const override { return TransformValueType; }
TransformComponent* componentAtIndex(int index) { return m_transformComponents.at(index); }

Powered by Google App Engine
This is Rietveld 408576698