| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, pro
totypeTemplate, interfaceTemplate, signature, V8TestInterfaceMethods, WTF_ARRAY_
LENGTH(V8TestInterfaceMethods)); | 421 V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, pro
totypeTemplate, interfaceTemplate, signature, V8TestInterfaceMethods, WTF_ARRAY_
LENGTH(V8TestInterfaceMethods)); |
| 422 } | 422 } |
| 423 } | 423 } |
| 424 | 424 |
| 425 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) | 425 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) |
| 426 { | 426 { |
| 427 v8::Local<v8::FunctionTemplate> interfaceTemplate = V8TestInterface::wrapper
TypeInfo.domTemplate(isolate, world); | 427 v8::Local<v8::FunctionTemplate> interfaceTemplate = V8TestInterface::wrapper
TypeInfo.domTemplate(isolate, world); |
| 428 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); | 428 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); |
| 429 ALLOW_UNUSED_LOCAL(signature); | 429 ALLOW_UNUSED_LOCAL(signature); |
| 430 const V8DOMConfiguration::AccessorConfiguration accessorpartial4LongAttribut
eConfiguration = \ | 430 const V8DOMConfiguration::AccessorConfiguration accessorpartial4LongAttribut
eConfiguration = \ |
| 431 {"partial4LongAttribute", TestInterfaceImplementationPartialV8Internal::
partial4LongAttributeAttributeGetterCallback, TestInterfaceImplementationPartial
V8Internal::partial4LongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT,
static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllSc
ripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 431 {"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
}; |
| 432 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int
erface, signature, accessorpartial4LongAttributeConfiguration); | 432 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int
erface, signature, accessorpartial4LongAttributeConfiguration); |
| 433 const V8DOMConfiguration::AccessorConfiguration accessorpartial4StaticLongAt
tributeConfiguration = \ | 433 const V8DOMConfiguration::AccessorConfiguration accessorpartial4StaticLongAt
tributeConfiguration = \ |
| 434 {"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}; | 434 {"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}; |
| 435 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int
erface, signature, accessorpartial4StaticLongAttributeConfiguration); | 435 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, int
erface, signature, accessorpartial4StaticLongAttributeConfiguration); |
| 436 const V8DOMConfiguration::ConstantConfiguration constantPartial4UnsignedShor
tConfiguration = {"PARTIAL4_UNSIGNED_SHORT", 4, 0, V8DOMConfiguration::ConstantT
ypeUnsignedShort}; | 436 const V8DOMConfiguration::ConstantConfiguration constantPartial4UnsignedShor
tConfiguration = {"PARTIAL4_UNSIGNED_SHORT", 4, 0, V8DOMConfiguration::ConstantT
ypeUnsignedShort}; |
| 437 V8DOMConfiguration::installConstant(isolate, interface, prototype, constantP
artial4UnsignedShortConfiguration); | 437 V8DOMConfiguration::installConstant(isolate, interface, prototype, constantP
artial4UnsignedShortConfiguration); |
| 438 const V8DOMConfiguration::MethodConfiguration methodPartial4Staticvoidmethod
Configuration = {"partial4StaticVoidMethod", TestInterfaceImplementationPartialV
8Internal::partial4StaticVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfigur
ation::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 438 const V8DOMConfiguration::MethodConfiguration methodPartial4Staticvoidmethod
Configuration = {"partial4StaticVoidMethod", TestInterfaceImplementationPartialV
8Internal::partial4StaticVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfigur
ation::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; |
| 439 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, inter
face, signature, methodPartial4StaticvoidmethodConfiguration); | 439 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, inter
face, signature, methodPartial4StaticvoidmethodConfiguration); |
| 440 const V8DOMConfiguration::MethodConfiguration methodPartial4VoidmethodConfig
uration = {"partial4VoidMethod", TestInterfaceImplementationPartialV8Internal::p
artial4VoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAl
lScripts, V8DOMConfiguration::OnPrototype}; | 440 const V8DOMConfiguration::MethodConfiguration methodPartial4VoidmethodConfig
uration = {"partial4VoidMethod", TestInterfaceImplementationPartialV8Internal::p
artial4VoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAl
lScripts, V8DOMConfiguration::OnPrototype}; |
| 441 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, inter
face, signature, methodPartial4VoidmethodConfiguration); | 441 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, inter
face, signature, methodPartial4VoidmethodConfiguration); |
| 442 } | 442 } |
| 443 | 443 |
| 444 void V8TestInterfacePartial::installOriginTrialPartialFeature(ScriptState* scrip
tState, v8::Local<v8::Object> instance) | 444 void V8TestInterfacePartial::installOriginTrialPartialFeature(ScriptState* scrip
tState, v8::Local<v8::Object> instance) |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); | 477 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); |
| 478 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 478 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
| 479 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 479 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
| 480 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 480 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
| 481 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 481 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
| 482 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 482 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
| 483 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 483 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
| 484 } | 484 } |
| 485 | 485 |
| 486 } // namespace blink | 486 } // namespace blink |
| OLD | NEW |