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

Side by Side Diff: Source/core/dom/DOMDataView.h

Issue 1219063013: Fix virtual/override/final usage in Source/core/dom/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DOMArrayBufferView.h ('k') | Source/core/dom/DOMDataView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 DOMDataView_h 5 #ifndef DOMDataView_h
6 #define DOMDataView_h 6 #define DOMDataView_h
7 7
8 #include "core/dom/DOMArrayBufferView.h" 8 #include "core/dom/DOMArrayBufferView.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class DOMDataView final : public DOMArrayBufferView { 12 class DOMDataView final : public DOMArrayBufferView {
13 DEFINE_WRAPPERTYPEINFO(); 13 DEFINE_WRAPPERTYPEINFO();
14 public: 14 public:
15 typedef char ValueType; 15 typedef char ValueType;
16 16
17 static PassRefPtr<DOMDataView> create(PassRefPtr<DOMArrayBufferBase>, unsign ed byteOffset, unsigned byteLength); 17 static PassRefPtr<DOMDataView> create(PassRefPtr<DOMArrayBufferBase>, unsign ed byteOffset, unsigned byteLength);
18 18
19 virtual v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creat ionContext) override; 19 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte xt) override;
20 virtual v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const Wrapp erTypeInfo*, v8::Local<v8::Object> wrapper) override; 20 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn fo*, v8::Local<v8::Object> wrapper) override;
21 21
22 private: 22 private:
23 DOMDataView(PassRefPtr<WTF::ArrayBufferView> dataView, PassRefPtr<DOMArrayBu fferBase> domArrayBuffer) 23 DOMDataView(PassRefPtr<WTF::ArrayBufferView> dataView, PassRefPtr<DOMArrayBu fferBase> domArrayBuffer)
24 : DOMArrayBufferView(dataView, domArrayBuffer) { } 24 : DOMArrayBufferView(dataView, domArrayBuffer) { }
25 }; 25 };
26 26
27 } // namespace blink 27 } // namespace blink
28 28
29 #endif // DOMDataView_h 29 #endif // DOMDataView_h
OLDNEW
« no previous file with comments | « Source/core/dom/DOMArrayBufferView.h ('k') | Source/core/dom/DOMDataView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698