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

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h

Issue 2606023002: [GeometryInterface] parameter was changed to DOMMatrixReadOnly. (Closed)
Patch Set: first commit Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DOMMatrixReadOnly_h 5 #ifndef DOMMatrixReadOnly_h
6 #define DOMMatrixReadOnly_h 6 #define DOMMatrixReadOnly_h
7 7
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "core/dom/DOMTypedArray.h" 10 #include "core/dom/DOMTypedArray.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 double m34() const { return m_matrix->m34(); } 54 double m34() const { return m_matrix->m34(); }
55 double m41() const { return m_matrix->m41(); } 55 double m41() const { return m_matrix->m41(); }
56 double m42() const { return m_matrix->m42(); } 56 double m42() const { return m_matrix->m42(); }
57 double m43() const { return m_matrix->m43(); } 57 double m43() const { return m_matrix->m43(); }
58 double m44() const { return m_matrix->m44(); } 58 double m44() const { return m_matrix->m44(); }
59 59
60 bool is2D() const; 60 bool is2D() const;
61 bool isIdentity() const; 61 bool isIdentity() const;
62 62
63 DOMMatrix* multiply(DOMMatrixInit&, ExceptionState&); 63 DOMMatrix* multiply(DOMMatrixInit&, ExceptionState&);
64 DOMMatrix* multiply(DOMMatrixReadOnly*, ExceptionState&);
64 DOMMatrix* translate(double tx = 0, double ty = 0, double tz = 0); 65 DOMMatrix* translate(double tx = 0, double ty = 0, double tz = 0);
65 DOMMatrix* scale(double sx = 1); 66 DOMMatrix* scale(double sx = 1);
66 DOMMatrix* scale(double sx, 67 DOMMatrix* scale(double sx,
67 double sy, 68 double sy,
68 double sz = 1, 69 double sz = 1,
69 double ox = 0, 70 double ox = 0,
70 double oy = 0, 71 double oy = 0,
71 double oz = 0); 72 double oz = 0);
72 DOMMatrix* scale3d(double scale = 1, 73 DOMMatrix* scale3d(double scale = 1,
73 double ox = 0, 74 double ox = 0,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // supports 16-byte alignment but Oilpan doesn't. So we use an std::unique_ptr 132 // supports 16-byte alignment but Oilpan doesn't. So we use an std::unique_ptr
132 // to allocate TransformationMatrix on PartitionAlloc. 133 // to allocate TransformationMatrix on PartitionAlloc.
133 // TODO(oilpan): Oilpan should support 16-byte aligned allocations. 134 // TODO(oilpan): Oilpan should support 16-byte aligned allocations.
134 std::unique_ptr<TransformationMatrix> m_matrix; 135 std::unique_ptr<TransformationMatrix> m_matrix;
135 bool m_is2D; 136 bool m_is2D;
136 }; 137 };
137 138
138 } // namespace blink 139 } // namespace blink
139 140
140 #endif 141 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMMatrix.cpp ('k') | third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698