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 // This file has been auto-generated by code_generator_v8.py. | 5 // This file has been auto-generated by code_generator_v8.py. |
6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
7 | 7 |
8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
10 | 10 |
11 // clang-format off | 11 // clang-format off |
12 #ifndef V8DataView_h | 12 #ifndef V8DataView_h |
13 #define V8DataView_h | 13 #define V8DataView_h |
14 | 14 |
15 #include "bindings/core/v8/GeneratedCodeHelper.h" | 15 #include "bindings/core/v8/GeneratedCodeHelper.h" |
16 #include "bindings/core/v8/NativeValueTraits.h" | 16 #include "bindings/core/v8/NativeValueTraits.h" |
17 #include "bindings/core/v8/ToV8ForCore.h" | 17 #include "bindings/core/v8/ToV8ForCore.h" |
18 #include "bindings/core/v8/V8ArrayBufferView.h" | 18 #include "bindings/core/v8/V8ArrayBufferView.h" |
19 #include "bindings/core/v8/V8BindingForCore.h" | 19 #include "bindings/core/v8/V8BindingForCore.h" |
20 #include "bindings/core/v8/WrapperTypeInfo.h" | |
21 #include "bindings/tests/idls/core/TestDataView.h" | 20 #include "bindings/tests/idls/core/TestDataView.h" |
22 #include "core/CoreExport.h" | 21 #include "core/CoreExport.h" |
23 #include "core/dom/ArrayBufferViewHelpers.h" | 22 #include "core/dom/ArrayBufferViewHelpers.h" |
24 #include "core/dom/FlexibleArrayBufferView.h" | 23 #include "core/dom/FlexibleArrayBufferView.h" |
25 #include "platform/bindings/ScriptWrappable.h" | 24 #include "platform/bindings/ScriptWrappable.h" |
26 #include "platform/bindings/V8DOMWrapper.h" | 25 #include "platform/bindings/V8DOMWrapper.h" |
| 26 #include "platform/bindings/WrapperTypeInfo.h" |
27 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class V8DataView { | 31 class V8DataView { |
32 STATIC_ONLY(V8DataView); | 32 STATIC_ONLY(V8DataView); |
33 public: | 33 public: |
34 CORE_EXPORT static TestDataView* toImpl(v8::Local<v8::Object> object); | 34 CORE_EXPORT static TestDataView* toImpl(v8::Local<v8::Object> object); |
35 CORE_EXPORT static TestDataView* toImplWithTypeCheck(v8::Isolate*, v8::Local<v
8::Value>); | 35 CORE_EXPORT static TestDataView* toImplWithTypeCheck(v8::Isolate*, v8::Local<v
8::Value>); |
36 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 36 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
(...skipping 19 matching lines...) Expand all Loading... |
56 }; | 56 }; |
57 | 57 |
58 template <> | 58 template <> |
59 struct V8TypeOf<TestDataView> { | 59 struct V8TypeOf<TestDataView> { |
60 typedef V8DataView Type; | 60 typedef V8DataView Type; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace blink | 63 } // namespace blink |
64 | 64 |
65 #endif // V8DataView_h | 65 #endif // V8DataView_h |
OLD | NEW |