| 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 "V8TestInterfacePartial.h" | 7 #include "V8TestInterfacePartial.h" |
| 8 | 8 |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/PrivateScriptRunner.h" | 10 #include "bindings/core/v8/PrivateScriptRunner.h" |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = { | 310 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = { |
| 311 {"partialVoidTestEnumModulesArgMethod", TestInterfaceImplementationPartialV8
Internal::partialVoidTestEnumModulesArgMethodMethodCallback, 0, 1, v8::None, V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 311 {"partialVoidTestEnumModulesArgMethod", TestInterfaceImplementationPartialV8
Internal::partialVoidTestEnumModulesArgMethodMethodCallback, 0, 1, v8::None, V8D
OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 312 {"unscopeableVoidMethod", TestInterfaceImplementationPartialV8Internal::unsc
opeableVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAl
lScripts, V8DOMConfiguration::OnPrototype}, | 312 {"unscopeableVoidMethod", TestInterfaceImplementationPartialV8Internal::unsc
opeableVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAl
lScripts, V8DOMConfiguration::OnPrototype}, |
| 313 }; | 313 }; |
| 314 | 314 |
| 315 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Local<v8::Functi
onTemplate> functionTemplate, v8::Isolate* isolate) | 315 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Local<v8::Functi
onTemplate> functionTemplate, v8::Isolate* isolate) |
| 316 { | 316 { |
| 317 V8TestInterface::installV8TestInterfaceTemplate(functionTemplate, isolate); | 317 V8TestInterface::installV8TestInterfaceTemplate(functionTemplate, isolate); |
| 318 | 318 |
| 319 v8::Local<v8::Signature> defaultSignature; | 319 v8::Local<v8::Signature> defaultSignature; |
| 320 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterface", v8::Local<v8::FunctionTemplate>(), V8TestInterfac
e::internalFieldCount, | 320 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, V8TestInterface::wrapperTypeInfo.interfaceName, v8::Local<v8::Func
tionTemplate>(), V8TestInterface::internalFieldCount, |
| 321 0, 0, | 321 0, 0, |
| 322 0, 0, | 322 0, 0, |
| 323 V8TestInterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods)); | 323 V8TestInterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods)); |
| 324 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 324 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 325 ALLOW_UNUSED_LOCAL(instanceTemplate); | 325 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| 326 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 326 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
| 327 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 327 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
| 328 const V8DOMConfiguration::ConstantConfiguration V8TestInterfaceConstants[] =
{ | 328 const V8DOMConfiguration::ConstantConfiguration V8TestInterfaceConstants[] =
{ |
| 329 {"PARTIAL3_UNSIGNED_SHORT", 0, 0, V8DOMConfiguration::ConstantTypeUnsign
edShort}, | 329 {"PARTIAL3_UNSIGNED_SHORT", 0, 0, V8DOMConfiguration::ConstantTypeUnsign
edShort}, |
| 330 }; | 330 }; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 354 &V8TestInterfacePartial::preparePrototypeAndInterfaceObject); | 354 &V8TestInterfacePartial::preparePrototypeAndInterfaceObject); |
| 355 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 355 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
| 356 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 356 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
| 357 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 357 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
| 358 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 358 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
| 359 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 359 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
| 360 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 360 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
| 361 } | 361 } |
| 362 | 362 |
| 363 } // namespace blink | 363 } // namespace blink |
| OLD | NEW |