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 // clang-format off | 8 // clang-format off |
9 #include "V8TestIntegerIndexed.h" | 9 #include "V8TestIntegerIndexed.h" |
10 | 10 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 V8TestIntegerIndexed::indexedPropertyDeleterCustom(index, info); | 154 V8TestIntegerIndexed::indexedPropertyDeleterCustom(index, info); |
155 } | 155 } |
156 | 156 |
157 } // namespace TestIntegerIndexedV8Internal | 157 } // namespace TestIntegerIndexedV8Internal |
158 | 158 |
159 const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedAccessors[]
= { | 159 const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedAccessors[]
= { |
160 {"length", TestIntegerIndexedV8Internal::lengthAttributeGetterCallback, Test
IntegerIndexedV8Internal::lengthAttributeSetterCallback, 0, 0, nullptr, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, | 160 {"length", TestIntegerIndexedV8Internal::lengthAttributeGetterCallback, Test
IntegerIndexedV8Internal::lengthAttributeSetterCallback, 0, 0, nullptr, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, |
161 }; | 161 }; |
162 | 162 |
163 const V8DOMConfiguration::MethodConfiguration V8TestIntegerIndexedMethods[] = { | 163 const V8DOMConfiguration::MethodConfiguration V8TestIntegerIndexedMethods[] = { |
164 {"voidMethodDocument", TestIntegerIndexedV8Internal::voidMethodDocumentMetho
dCallback, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu
ration::OnPrototype}, | 164 {"voidMethodDocument", TestIntegerIndexedV8Internal::voidMethodDocumentMetho
dCallback, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu
ration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
165 }; | 165 }; |
166 | 166 |
167 static void installV8TestIntegerIndexedTemplate(v8::Isolate* isolate, const DOMW
rapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { | 167 static void installV8TestIntegerIndexedTemplate(v8::Isolate* isolate, const DOMW
rapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { |
168 // Initialize the interface object's template. | 168 // Initialize the interface object's template. |
169 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate,
V8TestIntegerIndexed::wrapperTypeInfo.interfaceName, v8::Local<v8::FunctionTemp
late>(), V8TestIntegerIndexed::internalFieldCount); | 169 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate,
V8TestIntegerIndexed::wrapperTypeInfo.interfaceName, v8::Local<v8::FunctionTemp
late>(), V8TestIntegerIndexed::internalFieldCount); |
170 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp
late); | 170 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp
late); |
171 ALLOW_UNUSED_LOCAL(signature); | 171 ALLOW_UNUSED_LOCAL(signature); |
172 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe
mplate(); | 172 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe
mplate(); |
173 ALLOW_UNUSED_LOCAL(instanceTemplate); | 173 ALLOW_UNUSED_LOCAL(instanceTemplate); |
174 v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->Prototype
Template(); | 174 v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->Prototype
Template(); |
(...skipping 23 matching lines...) Expand all Loading... |
198 | 198 |
199 v8::Local<v8::Object> V8TestIntegerIndexed::findInstanceInPrototypeChain(v8::Loc
al<v8::Value> v8Value, v8::Isolate* isolate) { | 199 v8::Local<v8::Object> V8TestIntegerIndexed::findInstanceInPrototypeChain(v8::Loc
al<v8::Value> v8Value, v8::Isolate* isolate) { |
200 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT
ypeInfo, v8Value); | 200 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT
ypeInfo, v8Value); |
201 } | 201 } |
202 | 202 |
203 TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola
te, v8::Local<v8::Value> value) { | 203 TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola
te, v8::Local<v8::Value> value) { |
204 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)
) : nullptr; | 204 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)
) : nullptr; |
205 } | 205 } |
206 | 206 |
207 } // namespace blink | 207 } // namespace blink |
OLD | NEW |