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
3 // found in the LICENSE file.
8 #include "core/dom/DOMArrayBufferView.h"
12 class DOMDataView final
: public DOMArrayBufferView
{
13 DEFINE_WRAPPERTYPEINFO();
15 typedef char ValueType
;
17 static PassRefPtr
<DOMDataView
> create(PassRefPtr
<DOMArrayBufferBase
>, unsigned byteOffset
, unsigned byteLength
);
19 v8::Local
<v8::Object
> wrap(v8::Isolate
*, v8::Local
<v8::Object
> creationContext
) override
;
22 DOMDataView(PassRefPtr
<WTF::ArrayBufferView
> dataView
, PassRefPtr
<DOMArrayBufferBase
> domArrayBuffer
)
23 : DOMArrayBufferView(dataView
, domArrayBuffer
) { }
28 #endif // DOMDataView_h