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

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMMatrix.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMMatrix.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 DOMMatrix_h 5 #ifndef DOMMatrix_h
6 #define DOMMatrix_h 6 #define DOMMatrix_h
7 7
8 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 8 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
9 #include "core/dom/DOMMatrixInit.h" 9 #include "core/dom/DOMMatrixInit.h"
10 #include "core/dom/DOMMatrixReadOnly.h" 10 #include "core/dom/DOMMatrixReadOnly.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void setM43(double value) { 73 void setM43(double value) {
74 m_matrix->setM43(value); 74 m_matrix->setM43(value);
75 setIs2D(!value); 75 setIs2D(!value);
76 } 76 }
77 void setM44(double value) { 77 void setM44(double value) {
78 m_matrix->setM44(value); 78 m_matrix->setM44(value);
79 setIs2D(value != 1); 79 setIs2D(value != 1);
80 } 80 }
81 81
82 DOMMatrix* multiplySelf(DOMMatrixInit&, ExceptionState&); 82 DOMMatrix* multiplySelf(DOMMatrixInit&, ExceptionState&);
83 DOMMatrix* multiplySelf(DOMMatrixReadOnly*, ExceptionState&);
83 DOMMatrix* preMultiplySelf(DOMMatrixInit&, ExceptionState&); 84 DOMMatrix* preMultiplySelf(DOMMatrixInit&, ExceptionState&);
84 DOMMatrix* translateSelf(double tx = 0, double ty = 0, double tz = 0); 85 DOMMatrix* translateSelf(double tx = 0, double ty = 0, double tz = 0);
85 DOMMatrix* scaleSelf(double sx = 1); 86 DOMMatrix* scaleSelf(double sx = 1);
86 DOMMatrix* scaleSelf(double sx, 87 DOMMatrix* scaleSelf(double sx,
87 double sy, 88 double sy,
88 double sz = 1, 89 double sz = 1,
89 double ox = 0, 90 double ox = 0,
90 double oy = 0, 91 double oy = 0,
91 double oz = 0); 92 double oz = 0);
92 DOMMatrix* scale3dSelf(double scale = 1, 93 DOMMatrix* scale3dSelf(double scale = 1,
(...skipping 19 matching lines...) Expand all
112 template <typename T> 113 template <typename T>
113 DOMMatrix(T sequence, int size); 114 DOMMatrix(T sequence, int size);
114 115
115 void setIs2D(bool value); 116 void setIs2D(bool value);
116 void setNAN(); 117 void setNAN();
117 }; 118 };
118 119
119 } // namespace blink 120 } // namespace blink
120 121
121 #endif 122 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/DOMMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698