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

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

Issue 2907973002: [css-typed-om] add toMatrix() method in CSSTransformValue.idl (Closed)
Patch Set: make Create() function in DOMMatrix Created 3 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/CSSTransformValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.h b/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.h
index e03b904a5f53a7f7cc0bfa15a3c6c5101949e806..876601e635ea5084cc3b3ebac16860e70de06a96 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.h
@@ -13,6 +13,8 @@
namespace blink {
+class DOMMatrix;
+
class CORE_EXPORT CSSTransformValue final : public CSSStyleValue {
WTF_MAKE_NONCOPYABLE(CSSTransformValue);
DEFINE_WRAPPERTYPEINFO();
@@ -29,6 +31,8 @@ class CORE_EXPORT CSSTransformValue final : public CSSStyleValue {
bool is2D() const;
+ DOMMatrix* toMatrix() const;
+
const CSSValue* ToCSSValue() const override;
StyleValueType GetType() const override { return kTransformType; }

Powered by Google App Engine
This is Rietveld 408576698