| 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 // clang-format off | 7 // clang-format off |
| 8 #include "V8TestInterfacePartial.h" | 8 #include "V8TestInterfacePartial.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, pro
totypeTemplate, interfaceTemplate, signature, V8TestInterfaceMethods, WTF_ARRAY_
LENGTH(V8TestInterfaceMethods)); | 425 V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, pro
totypeTemplate, interfaceTemplate, signature, V8TestInterfaceMethods, WTF_ARRAY_
LENGTH(V8TestInterfaceMethods)); |
| 426 } | 426 } |
| 427 } | 427 } |
| 428 | 428 |
| 429 void V8TestInterfacePartial::installOriginTrialPartialFeature(v8::Isolate* isola
te, const DOMWrapperWorld& world, v8::Local<v8::Object> instance, v8::Local<v8::
Object> prototype, v8::Local<v8::Function> interface) | 429 void V8TestInterfacePartial::installOriginTrialPartialFeature(v8::Isolate* isola
te, const DOMWrapperWorld& world, v8::Local<v8::Object> instance, v8::Local<v8::
Object> prototype, v8::Local<v8::Function> interface) |
| 430 { | 430 { |
| 431 v8::Local<v8::FunctionTemplate> interfaceTemplate = V8TestInterface::wrapper
TypeInfo.domTemplate(isolate, world); | 431 v8::Local<v8::FunctionTemplate> interfaceTemplate = V8TestInterface::wrapper
TypeInfo.domTemplate(isolate, world); |
| 432 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); | 432 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); |
| 433 ALLOW_UNUSED_LOCAL(signature); | 433 ALLOW_UNUSED_LOCAL(signature); |
| 434 const V8DOMConfiguration::AccessorConfiguration accessorpartial4LongAttribut
eConfiguration = \ | 434 const V8DOMConfiguration::AccessorConfiguration accessorpartial4LongAttribut
eConfiguration = \ |
| 435 {"partial4LongAttribute", TestInterfaceImplementationPartialV8Internal::
partial4LongAttributeAttributeGetterCallback, TestInterfaceImplementationPartial
V8Internal::partial4LongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT,
static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllSc
ripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 435 {"partial4LongAttribute", TestInterfaceImplementationPartialV8Internal::
partial4LongAttributeAttributeGetterCallback, TestInterfaceImplementationPartial
V8Internal::partial4LongAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::
DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder
}; |
| 436 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int
erface, signature, accessorpartial4LongAttributeConfiguration); | 436 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int
erface, signature, accessorpartial4LongAttributeConfiguration); |
| 437 const V8DOMConfiguration::AccessorConfiguration accessorpartial4StaticLongAt
tributeConfiguration = \ | 437 const V8DOMConfiguration::AccessorConfiguration accessorpartial4StaticLongAt
tributeConfiguration = \ |
| 438 {"partial4StaticLongAttribute", TestInterfaceImplementationPartialV8Inte
rnal::partial4StaticLongAttributeAttributeGetterCallback, TestInterfaceImplement
ationPartialV8Internal::partial4StaticLongAttributeAttributeSetterCallback, 0, 0
, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigurati
on::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration::Ch
eckHolder}; | 438 {"partial4StaticLongAttribute", TestInterfaceImplementationPartialV8Inte
rnal::partial4StaticLongAttributeAttributeGetterCallback, TestInterfaceImplement
ationPartialV8Internal::partial4StaticLongAttributeAttributeSetterCallback, 0, 0
, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMCo
nfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfigur
ation::CheckHolder}; |
| 439 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int
erface, signature, accessorpartial4StaticLongAttributeConfiguration); | 439 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int
erface, signature, accessorpartial4StaticLongAttributeConfiguration); |
| 440 const V8DOMConfiguration::ConstantConfiguration constantPartial4UnsignedShor
tConfiguration = {"PARTIAL4_UNSIGNED_SHORT", 4, 0, V8DOMConfiguration::ConstantT
ypeUnsignedShort}; | 440 const V8DOMConfiguration::ConstantConfiguration constantPartial4UnsignedShor
tConfiguration = {"PARTIAL4_UNSIGNED_SHORT", 4, 0, V8DOMConfiguration::ConstantT
ypeUnsignedShort}; |
| 441 V8DOMConfiguration::installConstant(isolate, interface, prototype, constantP
artial4UnsignedShortConfiguration); | 441 V8DOMConfiguration::installConstant(isolate, interface, prototype, constantP
artial4UnsignedShortConfiguration); |
| 442 const V8DOMConfiguration::MethodConfiguration methodPartial4Staticvoidmethod
Configuration = {"partial4StaticVoidMethod", TestInterfaceImplementationPartialV
8Internal::partial4StaticVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfigur
ation::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 442 const V8DOMConfiguration::MethodConfiguration methodPartial4Staticvoidmethod
Configuration = {"partial4StaticVoidMethod", TestInterfaceImplementationPartialV
8Internal::partial4StaticVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfigur
ation::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; |
| 443 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, inter
face, signature, methodPartial4StaticvoidmethodConfiguration); | 443 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, inter
face, signature, methodPartial4StaticvoidmethodConfiguration); |
| 444 const V8DOMConfiguration::MethodConfiguration methodPartial4VoidmethodConfig
uration = {"partial4VoidMethod", TestInterfaceImplementationPartialV8Internal::p
artial4VoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAl
lScripts, V8DOMConfiguration::OnPrototype}; | 444 const V8DOMConfiguration::MethodConfiguration methodPartial4VoidmethodConfig
uration = {"partial4VoidMethod", TestInterfaceImplementationPartialV8Internal::p
artial4VoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAl
lScripts, V8DOMConfiguration::OnPrototype}; |
| 445 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, inter
face, signature, methodPartial4VoidmethodConfiguration); | 445 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, inter
face, signature, methodPartial4VoidmethodConfiguration); |
| 446 } | 446 } |
| 447 | 447 |
| 448 void V8TestInterfacePartial::installOriginTrialPartialFeature(ScriptState* scrip
tState, v8::Local<v8::Object> instance) | 448 void V8TestInterfacePartial::installOriginTrialPartialFeature(ScriptState* scrip
tState, v8::Local<v8::Object> instance) |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); | 481 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); |
| 482 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 482 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
| 483 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 483 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
| 484 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 484 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
| 485 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 485 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
| 486 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 486 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
| 487 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 487 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
| 488 } | 488 } |
| 489 | 489 |
| 490 } // namespace blink | 490 } // namespace blink |
| OLD | NEW |