| 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 V8ArrayBufferView_h | 12 #ifndef V8ArrayBufferView_h |
| 13 #define V8ArrayBufferView_h | 13 #define V8ArrayBufferView_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/V8BindingForCore.h" | 18 #include "bindings/core/v8/V8BindingForCore.h" |
| 19 #include "bindings/core/v8/WrapperTypeInfo.h" | |
| 20 #include "bindings/tests/idls/core/TestArrayBufferView.h" | 19 #include "bindings/tests/idls/core/TestArrayBufferView.h" |
| 21 #include "core/CoreExport.h" | 20 #include "core/CoreExport.h" |
| 22 #include "platform/bindings/ScriptWrappable.h" | 21 #include "platform/bindings/ScriptWrappable.h" |
| 23 #include "platform/bindings/V8DOMWrapper.h" | 22 #include "platform/bindings/V8DOMWrapper.h" |
| 23 #include "platform/bindings/WrapperTypeInfo.h" |
| 24 #include "platform/heap/Handle.h" | 24 #include "platform/heap/Handle.h" |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 | 27 |
| 28 class V8ArrayBufferView { | 28 class V8ArrayBufferView { |
| 29 STATIC_ONLY(V8ArrayBufferView); | 29 STATIC_ONLY(V8ArrayBufferView); |
| 30 public: | 30 public: |
| 31 CORE_EXPORT static TestArrayBufferView* toImpl(v8::Local<v8::Object> object); | 31 CORE_EXPORT static TestArrayBufferView* toImpl(v8::Local<v8::Object> object); |
| 32 CORE_EXPORT static TestArrayBufferView* toImplWithTypeCheck(v8::Isolate*, v8::
Local<v8::Value>); | 32 CORE_EXPORT static TestArrayBufferView* toImplWithTypeCheck(v8::Isolate*, v8::
Local<v8::Value>); |
| 33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 template <> | 54 template <> |
| 55 struct V8TypeOf<TestArrayBufferView> { | 55 struct V8TypeOf<TestArrayBufferView> { |
| 56 typedef V8ArrayBufferView Type; | 56 typedef V8ArrayBufferView Type; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace blink | 59 } // namespace blink |
| 60 | 60 |
| 61 #endif // V8ArrayBufferView_h | 61 #endif // V8ArrayBufferView_h |
| OLD | NEW |