| 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 DOMArrayBufferView_h | 5 #ifndef DOMArrayBufferView_h |
| 6 #define DOMArrayBufferView_h | 6 #define DOMArrayBufferView_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "core/dom/DOMArrayBuffer.h" | 10 #include "core/dom/DOMArrayBuffer.h" |
| 11 #include "core/dom/DOMSharedArrayBuffer.h" | 11 #include "core/dom/DOMSharedArrayBuffer.h" |
| 12 #include "wtf/typed_arrays/ArrayBufferView.h" | 12 #include "platform/wtf/typed_arrays/ArrayBufferView.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class CORE_EXPORT DOMArrayBufferView | 16 class CORE_EXPORT DOMArrayBufferView |
| 17 : public GarbageCollectedFinalized<DOMArrayBufferView>, | 17 : public GarbageCollectedFinalized<DOMArrayBufferView>, |
| 18 public ScriptWrappable { | 18 public ScriptWrappable { |
| 19 DEFINE_WRAPPERTYPEINFO(); | 19 DEFINE_WRAPPERTYPEINFO(); |
| 20 | 20 |
| 21 public: | 21 public: |
| 22 typedef WTF::ArrayBufferView::ViewType ViewType; | 22 typedef WTF::ArrayBufferView::ViewType ViewType; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 } | 92 } |
| 93 | 93 |
| 94 private: | 94 private: |
| 95 RefPtr<WTF::ArrayBufferView> buffer_view_; | 95 RefPtr<WTF::ArrayBufferView> buffer_view_; |
| 96 mutable Member<DOMArrayBufferBase> dom_array_buffer_; | 96 mutable Member<DOMArrayBufferBase> dom_array_buffer_; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace blink | 99 } // namespace blink |
| 100 | 100 |
| 101 #endif // DOMArrayBufferView_h | 101 #endif // DOMArrayBufferView_h |
| OLD | NEW |