| OLD | NEW |
| 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/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/dom/DOMTypedArray.h" | 9 #include "core/dom/DOMTypedArray.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 DOMMatrix* scale(double scale, double ox = 0, double oy = 0); | 49 DOMMatrix* scale(double scale, double ox = 0, double oy = 0); |
| 50 DOMMatrix* scale3d(double scale, double ox = 0, double oy = 0, double oz = 0
); | 50 DOMMatrix* scale3d(double scale, double ox = 0, double oy = 0, double oz = 0
); |
| 51 DOMMatrix* scaleNonUniform(double sx, double sy = 1, double sz = 1, | 51 DOMMatrix* scaleNonUniform(double sx, double sy = 1, double sz = 1, |
| 52 double ox = 0, double oy = 0, double oz = 0); | 52 double ox = 0, double oy = 0, double oz = 0); |
| 53 | 53 |
| 54 PassRefPtr<DOMFloat32Array> toFloat32Array() const; | 54 PassRefPtr<DOMFloat32Array> toFloat32Array() const; |
| 55 PassRefPtr<DOMFloat64Array> toFloat64Array() const; | 55 PassRefPtr<DOMFloat64Array> toFloat64Array() const; |
| 56 | 56 |
| 57 const TransformationMatrix& matrix() const { return m_matrix; } | 57 const TransformationMatrix& matrix() const { return m_matrix; } |
| 58 | 58 |
| 59 void trace(Visitor*) { } | 59 DEFINE_INLINE_TRACE() { } |
| 60 | 60 |
| 61 protected: | 61 protected: |
| 62 TransformationMatrix m_matrix; | 62 TransformationMatrix m_matrix; |
| 63 bool m_is2D; | 63 bool m_is2D; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace blink | 66 } // namespace blink |
| 67 | 67 |
| 68 #endif | 68 #endif |
| OLD | NEW |