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

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMArrayBufferView.h

Issue 1875343002: Move WTF classes related to typed arrays to wtf/typed_arrays (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 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/ArrayBufferView.h" 12 #include "wtf/typed_arrays/ArrayBufferView.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class CORE_EXPORT DOMArrayBufferView : public GarbageCollectedFinalized<DOMArray BufferView>, public ScriptWrappable { 16 class CORE_EXPORT DOMArrayBufferView : public GarbageCollectedFinalized<DOMArray BufferView>, public ScriptWrappable {
17 DEFINE_WRAPPERTYPEINFO(); 17 DEFINE_WRAPPERTYPEINFO();
18 public: 18 public:
19 typedef WTF::ArrayBufferView::ViewType ViewType; 19 typedef WTF::ArrayBufferView::ViewType ViewType;
20 static const ViewType TypeInt8 = WTF::ArrayBufferView::TypeInt8; 20 static const ViewType TypeInt8 = WTF::ArrayBufferView::TypeInt8;
21 static const ViewType TypeUint8 = WTF::ArrayBufferView::TypeUint8; 21 static const ViewType TypeUint8 = WTF::ArrayBufferView::TypeUint8;
22 static const ViewType TypeUint8Clamped = WTF::ArrayBufferView::TypeUint8Clam ped; 22 static const ViewType TypeUint8Clamped = WTF::ArrayBufferView::TypeUint8Clam ped;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 94 }
95 95
96 private: 96 private:
97 RefPtr<WTF::ArrayBufferView> m_bufferView; 97 RefPtr<WTF::ArrayBufferView> m_bufferView;
98 mutable Member<DOMArrayBufferBase> m_domArrayBuffer; 98 mutable Member<DOMArrayBufferBase> m_domArrayBuffer;
99 }; 99 };
100 100
101 } // namespace blink 101 } // namespace blink
102 102
103 #endif // DOMArrayBufferView_h 103 #endif // DOMArrayBufferView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMArrayBufferBase.h ('k') | third_party/WebKit/Source/core/dom/DOMArrayPiece.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698