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 "V8TestIntegerIndexedPrimaryGlobal.h" | 9 #include "V8TestIntegerIndexedPrimaryGlobal.h" |
10 | 10 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 V8TestIntegerIndexedPrimaryGlobal::indexedPropertyDeleterCustom(index, info); | 154 V8TestIntegerIndexedPrimaryGlobal::indexedPropertyDeleterCustom(index, info); |
155 } | 155 } |
156 | 156 |
157 } // namespace TestIntegerIndexedPrimaryGlobalV8Internal | 157 } // namespace TestIntegerIndexedPrimaryGlobalV8Internal |
158 | 158 |
159 const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedPrimaryGloba
lAccessors[] = { | 159 const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedPrimaryGloba
lAccessors[] = { |
160 {"length", TestIntegerIndexedPrimaryGlobalV8Internal::lengthAttributeGetterC
allback, TestIntegerIndexedPrimaryGlobalV8Internal::lengthAttributeSetterCallbac
k, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMCo
nfiguration::CheckHolder}, | 160 {"length", TestIntegerIndexedPrimaryGlobalV8Internal::lengthAttributeGetterC
allback, TestIntegerIndexedPrimaryGlobalV8Internal::lengthAttributeSetterCallbac
k, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMCo
nfiguration::CheckHolder}, |
161 }; | 161 }; |
162 | 162 |
163 const V8DOMConfiguration::MethodConfiguration V8TestIntegerIndexedPrimaryGlobalM
ethods[] = { | 163 const V8DOMConfiguration::MethodConfiguration V8TestIntegerIndexedPrimaryGlobalM
ethods[] = { |
164 {"voidMethodDocument", TestIntegerIndexedPrimaryGlobalV8Internal::voidMethod
DocumentMethodCallback, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInstance}, | 164 {"voidMethodDocument", TestIntegerIndexedPrimaryGlobalV8Internal::voidMethod
DocumentMethodCallback, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder}, |
165 }; | 165 }; |
166 | 166 |
167 static void installV8TestIntegerIndexedPrimaryGlobalTemplate(v8::Isolate* isolat
e, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTempla
te) { | 167 static void installV8TestIntegerIndexedPrimaryGlobalTemplate(v8::Isolate* isolat
e, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTempla
te) { |
168 // Initialize the interface object's template. | 168 // Initialize the interface object's template. |
169 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate,
V8TestIntegerIndexedPrimaryGlobal::wrapperTypeInfo.interfaceName, V8TestInteger
IndexedPrimaryGlobal::domTemplateForNamedPropertiesObject(isolate, world), V8Tes
tIntegerIndexedPrimaryGlobal::internalFieldCount); | 169 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate,
V8TestIntegerIndexedPrimaryGlobal::wrapperTypeInfo.interfaceName, V8TestInteger
IndexedPrimaryGlobal::domTemplateForNamedPropertiesObject(isolate, world), V8Tes
tIntegerIndexedPrimaryGlobal::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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 219 |
220 v8::Local<v8::Object> V8TestIntegerIndexedPrimaryGlobal::findInstanceInPrototype
Chain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { | 220 v8::Local<v8::Object> V8TestIntegerIndexedPrimaryGlobal::findInstanceInPrototype
Chain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { |
221 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT
ypeInfo, v8Value); | 221 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT
ypeInfo, v8Value); |
222 } | 222 } |
223 | 223 |
224 TestIntegerIndexedPrimaryGlobal* V8TestIntegerIndexedPrimaryGlobal::toImplWithTy
peCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { | 224 TestIntegerIndexedPrimaryGlobal* V8TestIntegerIndexedPrimaryGlobal::toImplWithTy
peCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { |
225 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)
) : nullptr; | 225 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)
) : nullptr; |
226 } | 226 } |
227 | 227 |
228 } // namespace blink | 228 } // namespace blink |
OLD | NEW |