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/ExceptionState.h" |
8 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
9 #include "core/dom/DOMTypedArray.h" | 10 #include "core/dom/DOMTypedArray.h" |
10 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
11 #include "platform/transforms/TransformationMatrix.h" | 12 #include "platform/transforms/TransformationMatrix.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 | 15 |
15 class DOMMatrix; | 16 class DOMMatrix; |
16 | 17 |
17 class DOMMatrixReadOnly : public GarbageCollectedFinalized<DOMMatrixReadOnly>, p
ublic ScriptWrappable { | 18 class DOMMatrixReadOnly : public GarbageCollectedFinalized<DOMMatrixReadOnly>, p
ublic ScriptWrappable { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // supports 16-byte alignment but Oilpan doesn't. So we use an OwnPtr | 64 // supports 16-byte alignment but Oilpan doesn't. So we use an OwnPtr |
64 // to allocate TransformationMatrix on PartitionAlloc. | 65 // to allocate TransformationMatrix on PartitionAlloc. |
65 // TODO(oilpan): Oilpan should support 16-byte aligned allocations. | 66 // TODO(oilpan): Oilpan should support 16-byte aligned allocations. |
66 OwnPtr<TransformationMatrix> m_matrix; | 67 OwnPtr<TransformationMatrix> m_matrix; |
67 bool m_is2D; | 68 bool m_is2D; |
68 }; | 69 }; |
69 | 70 |
70 } // namespace blink | 71 } // namespace blink |
71 | 72 |
72 #endif | 73 #endif |
OLD | NEW |