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. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 #if ENABLE(CONDITION) | 8 #if ENABLE(CONDITION) |
9 #include "V8TestInterfacePartial.h" | 9 #include "V8TestInterfacePartial.h" |
10 | 10 |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 } | 241 } |
242 | 242 |
243 } // namespace TestInterfaceImplementationPartialV8Internal | 243 } // namespace TestInterfaceImplementationPartialV8Internal |
244 | 244 |
245 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Handle<v8::Funct
ionTemplate> functionTemplate, v8::Isolate* isolate) | 245 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Handle<v8::Funct
ionTemplate> functionTemplate, v8::Isolate* isolate) |
246 { | 246 { |
247 V8TestInterface::installV8TestInterfaceTemplate(functionTemplate, isolate); | 247 V8TestInterface::installV8TestInterfaceTemplate(functionTemplate, isolate); |
248 | 248 |
249 v8::Local<v8::Signature> defaultSignature; | 249 v8::Local<v8::Signature> defaultSignature; |
250 if (!RuntimeEnabledFeatures::featureNameEnabled()) | 250 if (!RuntimeEnabledFeatures::featureNameEnabled()) |
251 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionT
emplate, "", v8::Local<v8::FunctionTemplate>(), V8TestInterface::internalFieldCo
unt, 0, 0, 0, 0, 0, 0, isolate); | 251 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "", v8::Local<v8::FunctionTemplate>(), V8TestInterface::intern
alFieldCount, 0, 0, 0, 0, 0, 0); |
252 else | 252 else |
253 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionT
emplate, "TestInterface", v8::Local<v8::FunctionTemplate>(), V8TestInterface::in
ternalFieldCount, | 253 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", v8::Local<v8::FunctionTemplate>(), V8TestInte
rface::internalFieldCount, |
254 0, 0, | 254 0, 0, |
255 0, 0, | 255 0, 0, |
256 0, 0, | 256 0, 0); |
257 isolate); | |
258 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 257 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
259 ALLOW_UNUSED_LOCAL(instanceTemplate); | 258 ALLOW_UNUSED_LOCAL(instanceTemplate); |
260 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 259 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
261 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 260 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
262 static const V8DOMConfiguration::ConstantConfiguration V8TestInterfaceConsta
nts[] = { | 261 static const V8DOMConfiguration::ConstantConfiguration V8TestInterfaceConsta
nts[] = { |
263 {"PARTIAL3_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUns
ignedShort}, | 262 {"PARTIAL3_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUns
ignedShort}, |
264 }; | 263 }; |
265 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); | 264 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); |
266 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa
ce::legacyCallCustom); | 265 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa
ce::legacyCallCustom); |
267 } | 266 } |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 308 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
310 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 309 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
311 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 310 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
312 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 311 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
313 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 312 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
314 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 313 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
315 } | 314 } |
316 | 315 |
317 } // namespace blink | 316 } // namespace blink |
318 #endif // ENABLE(CONDITION) | 317 #endif // ENABLE(CONDITION) |
OLD | NEW |