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 "V8TestInterface5.h" | 8 #include "V8TestInterface5.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 {"testInterfaceAttribute", TestInterface5ImplementationV8Internal::testInter
faceAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::te
stInterfaceAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 966 {"testInterfaceAttribute", TestInterface5ImplementationV8Internal::testInter
faceAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::te
stInterfaceAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
967 {"doubleAttribute", TestInterface5ImplementationV8Internal::doubleAttributeA
ttributeGetterCallback, TestInterface5ImplementationV8Internal::doubleAttributeA
ttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>
(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProto
type, V8DOMConfiguration::CheckHolder}, | 967 {"doubleAttribute", TestInterface5ImplementationV8Internal::doubleAttributeA
ttributeGetterCallback, TestInterface5ImplementationV8Internal::doubleAttributeA
ttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>
(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProto
type, V8DOMConfiguration::CheckHolder}, |
968 {"floatAttribute", TestInterface5ImplementationV8Internal::floatAttributeAtt
ributeGetterCallback, TestInterface5ImplementationV8Internal::floatAttributeAttr
ibuteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8
::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e, V8DOMConfiguration::CheckHolder}, | 968 {"floatAttribute", TestInterface5ImplementationV8Internal::floatAttributeAtt
ributeGetterCallback, TestInterface5ImplementationV8Internal::floatAttributeAttr
ibuteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8
::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e, V8DOMConfiguration::CheckHolder}, |
969 {"unrestrictedDoubleAttribute", TestInterface5ImplementationV8Internal::unre
strictedDoubleAttributeAttributeGetterCallback, TestInterface5ImplementationV8In
ternal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 969 {"unrestrictedDoubleAttribute", TestInterface5ImplementationV8Internal::unre
strictedDoubleAttributeAttributeGetterCallback, TestInterface5ImplementationV8In
ternal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
970 {"unrestrictedFloatAttribute", TestInterface5ImplementationV8Internal::unres
trictedFloatAttributeAttributeGetterCallback, TestInterface5ImplementationV8Inte
rnal::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 970 {"unrestrictedFloatAttribute", TestInterface5ImplementationV8Internal::unres
trictedFloatAttributeAttributeGetterCallback, TestInterface5ImplementationV8Inte
rnal::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
971 {"staticStringAttribute", TestInterface5ImplementationV8Internal::staticStri
ngAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::stat
icStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::
PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf
iguration::OnInterface, V8DOMConfiguration::CheckHolder}, | 971 {"staticStringAttribute", TestInterface5ImplementationV8Internal::staticStri
ngAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::stat
icStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::
PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf
iguration::OnInterface, V8DOMConfiguration::CheckHolder}, |
972 {"alwaysExposedAttribute", TestInterface5ImplementationV8Internal::alwaysExp
osedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::al
waysExposedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 972 {"alwaysExposedAttribute", TestInterface5ImplementationV8Internal::alwaysExp
osedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::al
waysExposedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
973 }; | 973 }; |
974 | 974 |
975 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = { | 975 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = { |
976 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal::
voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 976 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal::
voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che
ckHolder}, |
977 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void
MethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype}, | 977 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void
MethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder
}, |
978 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem
entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal
lback, 0, 2, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnPrototype}, | 978 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem
entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal
lback, 0, 2, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnPrototype, V8DOMConfiguration::CheckHolder}, |
979 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb
ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl
d, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype}, | 979 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb
ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl
d, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype, V8DOMConfiguration::CheckHolder}, |
980 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose
dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype}, | 980 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose
dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
981 {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::always
ExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnInterface}, | 981 {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::always
ExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder}, |
982 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal::
voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 982 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal::
voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Che
ckHolder}, |
983 {"voidMethodDoubleOrDOMStringArg", TestInterface5ImplementationV8Internal::v
oidMethodDoubleOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration:
:ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 983 {"voidMethodDoubleOrDOMStringArg", TestInterface5ImplementationV8Internal::v
oidMethodDoubleOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguration:
:ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Check
Holder}, |
984 {"voidMethodVoidExperimentalCallbackFunction", TestInterface5ImplementationV
8Internal::voidMethodVoidExperimentalCallbackFunctionMethodCallback, 0, 1, v8::N
one, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 984 {"voidMethodVoidExperimentalCallbackFunction", TestInterface5ImplementationV
8Internal::voidMethodVoidExperimentalCallbackFunctionMethodCallback, 0, 1, v8::N
one, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V
8DOMConfiguration::CheckHolder}, |
985 {"voidMethodVoidCallbackFunctionModulesArg", TestInterface5ImplementationV8I
nternal::voidMethodVoidCallbackFunctionModulesArgMethodCallback, 0, 1, v8::None,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 985 {"voidMethodVoidCallbackFunctionModulesArg", TestInterface5ImplementationV8I
nternal::voidMethodVoidCallbackFunctionModulesArgMethodCallback, 0, 1, v8::None,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOM
Configuration::CheckHolder}, |
986 {"keys", TestInterface5ImplementationV8Internal::keysMethodCallback, 0, 0, v
8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e}, | 986 {"keys", TestInterface5ImplementationV8Internal::keysMethodCallback, 0, 0, v
8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e, V8DOMConfiguration::CheckHolder}, |
987 {"values", TestInterface5ImplementationV8Internal::valuesMethodCallback, 0,
0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProt
otype}, | 987 {"values", TestInterface5ImplementationV8Internal::valuesMethodCallback, 0,
0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProt
otype, V8DOMConfiguration::CheckHolder}, |
988 {"entries", TestInterface5ImplementationV8Internal::entriesMethodCallback, 0
, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype}, | 988 {"entries", TestInterface5ImplementationV8Internal::entriesMethodCallback, 0
, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype, V8DOMConfiguration::CheckHolder}, |
989 {"forEach", TestInterface5ImplementationV8Internal::forEachMethodCallback, 0
, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype}, | 989 {"forEach", TestInterface5ImplementationV8Internal::forEachMethodCallback, 0
, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPr
ototype, V8DOMConfiguration::CheckHolder}, |
990 {"toString", TestInterface5ImplementationV8Internal::toStringMethodCallback,
0, 0, static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype}, | 990 {"toString", TestInterface5ImplementationV8Internal::toStringMethodCallback,
0, 0, static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHold
er}, |
991 }; | 991 }; |
992 | 992 |
993 static void installV8TestInterface5Template(v8::Isolate* isolate, const DOMWrapp
erWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) | 993 static void installV8TestInterface5Template(v8::Isolate* isolate, const DOMWrapp
erWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) |
994 { | 994 { |
995 // Initialize the interface object's template. | 995 // Initialize the interface object's template. |
996 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplat
e, V8TestInterface5::wrapperTypeInfo.interfaceName, V8TestInterfaceEmpty::domTem
plate(isolate, world), V8TestInterface5::internalFieldCount); | 996 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplat
e, V8TestInterface5::wrapperTypeInfo.interfaceName, V8TestInterfaceEmpty::domTem
plate(isolate, world), V8TestInterface5::internalFieldCount); |
997 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); | 997 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); |
998 ALLOW_UNUSED_LOCAL(signature); | 998 ALLOW_UNUSED_LOCAL(signature); |
999 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->Instance
Template(); | 999 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->Instance
Template(); |
1000 ALLOW_UNUSED_LOCAL(instanceTemplate); | 1000 ALLOW_UNUSED_LOCAL(instanceTemplate); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object
>(), prototypeObject, interfaceObject, signature, accessorConfiguration); | 1056 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object
>(), prototypeObject, interfaceObject, signature, accessorConfiguration); |
1057 } | 1057 } |
1058 if (executionContext && (executionContext->isDocument())) { | 1058 if (executionContext && (executionContext->isDocument())) { |
1059 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration =
{"windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposed
AttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::window
ExposedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::P
ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 1059 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration =
{"windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposed
AttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::window
ExposedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::P
ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
1060 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object
>(), prototypeObject, interfaceObject, signature, accessorConfiguration); | 1060 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object
>(), prototypeObject, interfaceObject, signature, accessorConfiguration); |
1061 } | 1061 } |
1062 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); | 1062 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); |
1063 ExecutionContext* executionContext = toExecutionContext(prototypeObject->Cre
ationContext()); | 1063 ExecutionContext* executionContext = toExecutionContext(prototypeObject->Cre
ationContext()); |
1064 ASSERT(executionContext); | 1064 ASSERT(executionContext); |
1065 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 1065 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
1066 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodC
onfiguration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::w
orkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype}; | 1066 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodC
onfiguration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::w
orkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
1067 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigu
ration); | 1067 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigu
ration); |
1068 } | 1068 } |
1069 if (executionContext && (executionContext->isDocument())) { | 1069 if (executionContext && (executionContext->isDocument())) { |
1070 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodC
onfiguration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::w
indowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype}; | 1070 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodC
onfiguration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::w
indowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
1071 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigu
ration); | 1071 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigu
ration); |
1072 } | 1072 } |
1073 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 1073 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
1074 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodM
ethodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV
8Internal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 1074 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodM
ethodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV
8Internal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration
::CheckHolder}; |
1075 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodC
onfiguration); | 1075 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodC
onfiguration); |
1076 } | 1076 } |
1077 if (executionContext && (executionContext->isDocument())) { | 1077 if (executionContext && (executionContext->isDocument())) { |
1078 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM
ethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV
8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 1078 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM
ethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV
8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration
::CheckHolder}; |
1079 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodC
onfiguration); | 1079 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodC
onfiguration); |
1080 } | 1080 } |
1081 if (executionContext && (executionContext->isDocument() || executionContext-
>isServiceWorkerGlobalScope())) { | 1081 if (executionContext && (executionContext->isDocument() || executionContext-
>isServiceWorkerGlobalScope())) { |
1082 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpo
sedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInter
face5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback
, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype}; | 1082 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpo
sedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInter
face5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback
, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype, V8DOMConfiguration::CheckHolder}; |
1083 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); | 1083 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); |
1084 } | 1084 } |
1085 } | 1085 } |
1086 | 1086 |
1087 } // namespace blink | 1087 } // namespace blink |
OLD | NEW |