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 "V8TestInterface.h" | 9 #include "V8TestInterface.h" |
10 | 10 |
11 #include "bindings/core/v8/ExceptionState.h" | 11 #include "bindings/core/v8/ExceptionState.h" |
12 #include "bindings/core/v8/PrivateScriptRunner.h" | 12 #include "bindings/core/v8/PrivateScriptRunner.h" |
13 #include "bindings/core/v8/ScriptPromise.h" | 13 #include "bindings/core/v8/ScriptPromise.h" |
14 #include "bindings/core/v8/ScriptState.h" | 14 #include "bindings/core/v8/ScriptState.h" |
15 #include "bindings/core/v8/ScriptValue.h" | 15 #include "bindings/core/v8/ScriptValue.h" |
16 #include "bindings/core/v8/UnionTypesCore.h" | 16 #include "bindings/core/v8/UnionTypesCore.h" |
17 #include "bindings/core/v8/V8AbstractEventListener.h" | 17 #include "bindings/core/v8/V8AbstractEventListener.h" |
18 #include "bindings/core/v8/V8DOMConfiguration.h" | 18 #include "bindings/core/v8/V8DOMConfiguration.h" |
19 #include "bindings/core/v8/V8Document.h" | 19 #include "bindings/core/v8/V8Document.h" |
20 #include "bindings/core/v8/V8EventListenerList.h" | 20 #include "bindings/core/v8/V8EventListenerList.h" |
21 #include "bindings/core/v8/V8HiddenValue.h" | 21 #include "bindings/core/v8/V8HiddenValue.h" |
22 #include "bindings/core/v8/V8Iterator.h" | 22 #include "bindings/core/v8/V8Iterator.h" |
23 #include "bindings/core/v8/V8Node.h" | 23 #include "bindings/core/v8/V8Node.h" |
24 #include "bindings/core/v8/V8ObjectConstructor.h" | 24 #include "bindings/core/v8/V8ObjectConstructor.h" |
25 #include "bindings/core/v8/V8TestInterface.h" | 25 #include "bindings/core/v8/V8TestInterface.h" |
| 26 #include "bindings/core/v8/V8TestInterface2.h" |
26 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 27 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
27 #include "bindings/core/v8/V8Window.h" | 28 #include "bindings/core/v8/V8Window.h" |
28 #include "bindings/tests/idls/core/TestImplements2.h" | 29 #include "bindings/tests/idls/core/TestImplements2.h" |
29 #include "bindings/tests/idls/core/TestImplements3Implementation.h" | 30 #include "bindings/tests/idls/core/TestImplements3Implementation.h" |
30 #include "bindings/tests/idls/core/TestPartialInterface.h" | 31 #include "bindings/tests/idls/core/TestPartialInterface.h" |
31 #include "bindings/tests/idls/core/TestPartialInterfaceImplementation.h" | 32 #include "bindings/tests/idls/core/TestPartialInterfaceImplementation.h" |
32 #include "core/dom/ContextFeatures.h" | 33 #include "core/dom/ContextFeatures.h" |
33 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
34 #include "core/frame/LocalFrame.h" | 35 #include "core/frame/LocalFrame.h" |
35 #include "core/frame/UseCounter.h" | 36 #include "core/frame/UseCounter.h" |
36 #include "platform/RuntimeEnabledFeatures.h" | 37 #include "platform/RuntimeEnabledFeatures.h" |
37 #include "platform/ScriptForbiddenScope.h" | 38 #include "platform/ScriptForbiddenScope.h" |
38 #include "platform/TraceEvent.h" | 39 #include "platform/TraceEvent.h" |
39 #include "wtf/GetPtr.h" | 40 #include "wtf/GetPtr.h" |
40 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
41 | 42 |
42 namespace blink { | 43 namespace blink { |
43 | 44 |
44 WrapperTypeInfo V8TestInterface::wrapperTypeInfo = { gin::kEmbedderBlink, V8Test
Interface::domTemplate, V8TestInterface::refObject, V8TestInterface::derefObject
, V8TestInterface::trace, V8TestInterface::toActiveDOMObject, V8TestInterface::v
isitDOMWrapper, V8TestInterface::installConditionallyEnabledMethods, V8TestInter
face::installConditionallyEnabledProperties, &V8TestInterfaceEmpty::wrapperTypeI
nfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId
, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Dependent, Wrappe
rTypeInfo::RefCountedObject }; | 45 WrapperTypeInfo V8TestInterface::wrapperTypeInfo = { gin::kEmbedderBlink, V8Test
Interface::domTemplate, V8TestInterface::refObject, V8TestInterface::derefObject
, V8TestInterface::trace, V8TestInterface::toActiveDOMObject, V8TestInterface::v
isitDOMWrapper, V8TestInterface::installConditionallyEnabledMethods, V8TestInter
face::installConditionallyEnabledProperties, "TestInterface", &V8TestInterfaceEm
pty::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeIn
fo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::
Dependent, WrapperTypeInfo::RefCountedObject }; |
45 | 46 |
46 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eImplementation.h. | 47 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac
eImplementation.h. |
47 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in | 48 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in |
48 // bindings/core/v8/ScriptWrappable.h. | 49 // bindings/core/v8/ScriptWrappable.h. |
49 const WrapperTypeInfo& TestInterfaceImplementation::s_wrapperTypeInfo = V8TestIn
terface::wrapperTypeInfo; | 50 const WrapperTypeInfo& TestInterfaceImplementation::s_wrapperTypeInfo = V8TestIn
terface::wrapperTypeInfo; |
50 | 51 |
51 namespace TestInterfaceImplementationV8Internal { | 52 namespace TestInterfaceImplementationV8Internal { |
52 static void (*voidMethodPartialOverloadMethodForPartialInterface)(const v8::Func
tionCallbackInfo<v8::Value>&) = 0; | 53 static void (*voidMethodPartialOverloadMethodForPartialInterface)(const v8::Func
tionCallbackInfo<v8::Value>&) = 0; |
53 static void (*staticVoidMethodPartialOverloadMethodForPartialInterface)(const v8
::FunctionCallbackInfo<v8::Value>&) = 0; | 54 static void (*staticVoidMethodPartialOverloadMethodForPartialInterface)(const v8
::FunctionCallbackInfo<v8::Value>&) = 0; |
54 static void (*promiseMethodPartialOverloadMethodForPartialInterface)(const v8::F
unctionCallbackInfo<v8::Value>&) = 0; | 55 static void (*promiseMethodPartialOverloadMethodForPartialInterface)(const v8::F
unctionCallbackInfo<v8::Value>&) = 0; |
55 static void (*staticPromiseMethodPartialOverloadMethodForPartialInterface)(const
v8::FunctionCallbackInfo<v8::Value>&) = 0; | 56 static void (*staticPromiseMethodPartialOverloadMethodForPartialInterface)(const
v8::FunctionCallbackInfo<v8::Value>&) = 0; |
56 static void (*partial2VoidMethodMethodForPartialInterface)(const v8::FunctionCal
lbackInfo<v8::Value>&) = 0; | 57 static void (*partial2VoidMethodMethodForPartialInterface)(const v8::FunctionCal
lbackInfo<v8::Value>&) = 0; |
57 static void (*partial2StaticVoidMethodMethodForPartialInterface)(const v8::Funct
ionCallbackInfo<v8::Value>&) = 0; | 58 static void (*partial2StaticVoidMethodMethodForPartialInterface)(const v8::Funct
ionCallbackInfo<v8::Value>&) = 0; |
58 | 59 |
59 template<class CallbackInfo> | 60 template<class CallbackInfo> |
60 static void TestInterfaceImplementationForceSetAttributeOnThis(v8::Local<v8::Nam
e> name, v8::Local<v8::Value> v8Value, const CallbackInfo& info) | 61 static void TestInterfaceImplementationForceSetAttributeOnThis(v8::Local<v8::Nam
e> name, v8::Local<v8::Value> v8Value, const CallbackInfo& info) |
61 { | 62 { |
62 ASSERT(info.This()->IsObject()); | 63 ASSERT(info.This()->IsObject()); |
63 v8::Local<v8::Object>::Cast(info.This())->ForceSet(name, v8Value); | 64 v8::Local<v8::Object>::Cast(info.This())->ForceSet(name, v8Value); |
64 } | 65 } |
65 | 66 |
| 67 static void TestInterfaceImplementationConstructorAttributeSetterCallback(v8::Lo
cal<v8::Name>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) |
| 68 { |
| 69 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 70 do { |
| 71 v8::Local<v8::Value> data = info.Data(); |
| 72 ASSERT(data->IsExternal()); |
| 73 V8PerContextData* perContextData = V8PerContextData::from(info.Holder()-
>CreationContext()); |
| 74 if (!perContextData) |
| 75 break; |
| 76 const WrapperTypeInfo* wrapperTypeInfo = WrapperTypeInfo::unwrap(data); |
| 77 if (!wrapperTypeInfo) |
| 78 break; |
| 79 TestInterfaceImplementationForceSetAttributeOnThis(v8String(info.GetIsol
ate(), wrapperTypeInfo->interfaceName), v8Value, info); |
| 80 } while (false); // do ... while (false) just for use of break |
| 81 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 82 } |
| 83 |
66 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) | 84 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) |
67 { | 85 { |
68 v8::Local<v8::Object> holder = info.Holder(); | 86 v8::Local<v8::Object> holder = info.Holder(); |
69 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); | 87 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
70 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl
); | 88 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl
); |
71 } | 89 } |
72 | 90 |
73 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::Name>, c
onst v8::PropertyCallbackInfo<v8::Value>& info) | 91 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::Name>, c
onst v8::PropertyCallbackInfo<v8::Value>& info) |
74 { | 92 { |
75 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 93 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
(...skipping 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2097 if (referencedName) { | 2115 if (referencedName) { |
2098 if (!DOMDataStore::containsWrapper(referencedName, isolate)) | 2116 if (!DOMDataStore::containsWrapper(referencedName, isolate)) |
2099 referencedName->wrap(creationContext, isolate); | 2117 referencedName->wrap(creationContext, isolate); |
2100 DOMDataStore::setWrapperReference(wrapper, referencedName, isolate); | 2118 DOMDataStore::setWrapperReference(wrapper, referencedName, isolate); |
2101 } | 2119 } |
2102 setObjectGroup(isolate, scriptWrappable, wrapper); | 2120 setObjectGroup(isolate, scriptWrappable, wrapper); |
2103 } | 2121 } |
2104 | 2122 |
2105 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { | 2123 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { |
2106 {"testInterfaceAttribute", TestInterfaceImplementationV8Internal::testInterf
aceAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::test
InterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2124 {"testInterfaceAttribute", TestInterfaceImplementationV8Internal::testInterf
aceAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::test
InterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2107 {"testInterfaceConstructorAttribute", v8ConstructorAttributeGetterAsProperty
, TestInterfaceImplementationV8Internal::testInterfaceConstructorAttributeAttrib
uteSetterCallback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestInterface::wrapperT
ypeInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigura
tion::OnInstance}, | 2125 {"testInterfaceConstructorAttribute", v8ConstructorAttributeGetter, TestInte
rfaceImplementationV8Internal::testInterfaceConstructorAttributeAttributeSetterC
allback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo),
static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(
v8::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn
stance}, |
| 2126 {"TestInterface", v8ConstructorAttributeGetter, TestInterfaceImplementationV
8Internal::TestInterfaceImplementationConstructorAttributeSetterCallback, 0, 0,
const_cast<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo), static_cast<v8:
:AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
| 2127 {"TestInterface2", v8ConstructorAttributeGetter, TestInterfaceImplementation
V8Internal::TestInterfaceImplementationConstructorAttributeSetterCallback, 0, 0,
const_cast<WrapperTypeInfo*>(&V8TestInterface2::wrapperTypeInfo), static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2108 {"doubleAttribute", TestInterfaceImplementationV8Internal::doubleAttributeAt
tributeGetterCallback, TestInterfaceImplementationV8Internal::doubleAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnInstance}, | 2128 {"doubleAttribute", TestInterfaceImplementationV8Internal::doubleAttributeAt
tributeGetterCallback, TestInterfaceImplementationV8Internal::doubleAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnInstance}, |
2109 {"floatAttribute", TestInterfaceImplementationV8Internal::floatAttributeAttr
ibuteGetterCallback, TestInterfaceImplementationV8Internal::floatAttributeAttrib
uteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInstance}, | 2129 {"floatAttribute", TestInterfaceImplementationV8Internal::floatAttributeAttr
ibuteGetterCallback, TestInterfaceImplementationV8Internal::floatAttributeAttrib
uteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInstance}, |
2110 {"unrestrictedDoubleAttribute", TestInterfaceImplementationV8Internal::unres
trictedDoubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Inte
rnal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2130 {"unrestrictedDoubleAttribute", TestInterfaceImplementationV8Internal::unres
trictedDoubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Inte
rnal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2111 {"unrestrictedFloatAttribute", TestInterfaceImplementationV8Internal::unrest
rictedFloatAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2131 {"unrestrictedFloatAttribute", TestInterfaceImplementationV8Internal::unrest
rictedFloatAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2112 {"testEnumAttribute", TestInterfaceImplementationV8Internal::testEnumAttribu
teAttributeGetterCallback, TestInterfaceImplementationV8Internal::testEnumAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, | 2132 {"testEnumAttribute", TestInterfaceImplementationV8Internal::testEnumAttribu
teAttributeGetterCallback, TestInterfaceImplementationV8Internal::testEnumAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, |
2113 {"stringOrDoubleAttribute", TestInterfaceImplementationV8Internal::stringOrD
oubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::st
ringOrDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2133 {"stringOrDoubleAttribute", TestInterfaceImplementationV8Internal::stringOrD
oubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::st
ringOrDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2114 {"legacyInterfaceTypeCheckingAttribute", TestInterfaceImplementationV8Intern
al::legacyInterfaceTypeCheckingAttributeAttributeGetterCallback, TestInterfaceIm
plementationV8Internal::legacyInterfaceTypeCheckingAttributeAttributeSetterCallb
ack, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prope
rtyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigura
tion::OnInstance}, | 2134 {"legacyInterfaceTypeCheckingAttribute", TestInterfaceImplementationV8Intern
al::legacyInterfaceTypeCheckingAttributeAttributeGetterCallback, TestInterfaceIm
plementationV8Internal::legacyInterfaceTypeCheckingAttributeAttributeSetterCallb
ack, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prope
rtyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigura
tion::OnInstance}, |
2115 {"alwaysExposedAttribute", TestInterfaceImplementationV8Internal::alwaysExpo
sedAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::alwa
ysExposedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2135 {"alwaysExposedAttribute", TestInterfaceImplementationV8Internal::alwaysExpo
sedAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::alwa
ysExposedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2116 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2136 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2117 {"implementsStringAttribute", TestInterfaceImplementationV8Internal::impleme
ntsStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal
::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acc
essControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMCon
figuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2137 {"implementsStringAttribute", TestInterfaceImplementationV8Internal::impleme
ntsStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal
::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acc
essControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMCon
figuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2524 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2544 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2525 { | 2545 { |
2526 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2546 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
2527 } | 2547 } |
2528 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2548 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2529 { | 2549 { |
2530 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2550 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
2531 } | 2551 } |
2532 } // namespace blink | 2552 } // namespace blink |
2533 #endif // ENABLE(CONDITION) | 2553 #endif // ENABLE(CONDITION) |
OLD | NEW |