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 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 static void (*partial2VoidMethodMethodForPartialInterface)(const v8::FunctionCal
lbackInfo<v8::Value>&) = 0; | 55 static void (*partial2VoidMethodMethodForPartialInterface)(const v8::FunctionCal
lbackInfo<v8::Value>&) = 0; |
56 static void (*partial2StaticVoidMethodMethodForPartialInterface)(const v8::Funct
ionCallbackInfo<v8::Value>&) = 0; | 56 static void (*partial2StaticVoidMethodMethodForPartialInterface)(const v8::Funct
ionCallbackInfo<v8::Value>&) = 0; |
57 | 57 |
58 template<class CallbackInfo> | 58 template<class CallbackInfo> |
59 static void TestInterfaceImplementationForceSetAttributeOnThis(v8::Local<v8::Str
ing> name, v8::Local<v8::Value> v8Value, const CallbackInfo& info) | 59 static void TestInterfaceImplementationForceSetAttributeOnThis(v8::Local<v8::Str
ing> name, v8::Local<v8::Value> v8Value, const CallbackInfo& info) |
60 { | 60 { |
61 ASSERT(info.This()->IsObject()); | 61 ASSERT(info.This()->IsObject()); |
62 v8::Local<v8::Object>::Cast(info.This())->ForceSet(name, v8Value); | 62 v8::Local<v8::Object>::Cast(info.This())->ForceSet(name, v8Value); |
63 } | 63 } |
64 | 64 |
65 static void TestInterfaceImplementationForceSetAttributeOnThisCallback(v8::Local
<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<
void>& info) | |
66 { | |
67 TestInterfaceImplementationV8Internal::TestInterfaceImplementationForceSetAt
tributeOnThis(name, v8Value, info); | |
68 } | |
69 | |
70 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) | 65 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) |
71 { | 66 { |
72 v8::Local<v8::Object> holder = info.Holder(); | 67 v8::Local<v8::Object> holder = info.Holder(); |
73 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); | 68 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
74 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl
); | 69 v8SetReturnValueFast(info, WTF::getPtr(impl->testInterfaceAttribute()), impl
); |
75 } | 70 } |
76 | 71 |
77 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) | 72 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) |
78 { | 73 { |
79 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 74 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
(...skipping 15 matching lines...) Expand all Loading... |
95 impl->setTestInterfaceAttribute(WTF::getPtr(cppValue)); | 90 impl->setTestInterfaceAttribute(WTF::getPtr(cppValue)); |
96 } | 91 } |
97 | 92 |
98 static void testInterfaceAttributeAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 93 static void testInterfaceAttributeAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
99 { | 94 { |
100 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 95 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
101 TestInterfaceImplementationV8Internal::testInterfaceAttributeAttributeSetter
(v8Value, info); | 96 TestInterfaceImplementationV8Internal::testInterfaceAttributeAttributeSetter
(v8Value, info); |
102 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 97 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
103 } | 98 } |
104 | 99 |
| 100 static void testInterfaceConstructorAttributeAttributeSetter(v8::Local<v8::Value
> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 101 { |
| 102 v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "test
InterfaceConstructorAttribute"); |
| 103 TestInterfaceImplementationForceSetAttributeOnThis(propertyName, v8Value, in
fo); |
| 104 } |
| 105 |
| 106 static void testInterfaceConstructorAttributeAttributeSetterCallback(v8::Local<v
8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>&
info) |
| 107 { |
| 108 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 109 TestInterfaceImplementationV8Internal::testInterfaceConstructorAttributeAttr
ibuteSetter(v8Value, info); |
| 110 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 111 } |
| 112 |
105 static void doubleAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Va
lue>& info) | 113 static void doubleAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Va
lue>& info) |
106 { | 114 { |
107 v8::Local<v8::Object> holder = info.Holder(); | 115 v8::Local<v8::Object> holder = info.Holder(); |
108 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); | 116 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
109 v8SetReturnValue(info, impl->doubleAttribute()); | 117 v8SetReturnValue(info, impl->doubleAttribute()); |
110 } | 118 } |
111 | 119 |
112 static void doubleAttributeAttributeGetterCallback(v8::Local<v8::String>, const
v8::PropertyCallbackInfo<v8::Value>& info) | 120 static void doubleAttributeAttributeGetterCallback(v8::Local<v8::String>, const
v8::PropertyCallbackInfo<v8::Value>& info) |
113 { | 121 { |
114 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 122 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1012 TestPartialInterfaceImplementation::setPartial2StaticLongAttribute(cppValue)
; | 1020 TestPartialInterfaceImplementation::setPartial2StaticLongAttribute(cppValue)
; |
1013 } | 1021 } |
1014 | 1022 |
1015 static void partial2StaticLongAttributeAttributeSetterCallback(v8::Local<v8::Str
ing>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 1023 static void partial2StaticLongAttributeAttributeSetterCallback(v8::Local<v8::Str
ing>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
1016 { | 1024 { |
1017 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 1025 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
1018 TestInterfaceImplementationV8Internal::partial2StaticLongAttributeAttributeS
etter(v8Value, info); | 1026 TestInterfaceImplementationV8Internal::partial2StaticLongAttributeAttributeS
etter(v8Value, info); |
1019 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 1027 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
1020 } | 1028 } |
1021 | 1029 |
1022 static void TestInterfaceImplementationConstructorGetter(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) | |
1023 { | |
1024 v8::Local<v8::Value> data = info.Data(); | |
1025 ASSERT(data->IsExternal()); | |
1026 V8PerContextData* perContextData = V8PerContextData::from(info.Holder()->Cre
ationContext()); | |
1027 if (!perContextData) | |
1028 return; | |
1029 v8SetReturnValue(info, perContextData->constructorForType(WrapperTypeInfo::u
nwrap(data))); | |
1030 } | |
1031 | |
1032 static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo
<v8::Value>& info) | 1030 static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo
<v8::Value>& info) |
1033 { | 1031 { |
1034 if (UNLIKELY(info.Length() < 1)) { | 1032 if (UNLIKELY(info.Length() < 1)) { |
1035 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in
fo.GetIsolate(), "voidMethodTestInterfaceEmptyArg", "TestInterface", 1, info.Len
gth()), info.GetIsolate()); | 1033 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in
fo.GetIsolate(), "voidMethodTestInterfaceEmptyArg", "TestInterface", 1, info.Len
gth()), info.GetIsolate()); |
1036 return; | 1034 return; |
1037 } | 1035 } |
1038 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 1036 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
1039 TestInterfaceEmpty* testInterfaceEmptyArg; | 1037 TestInterfaceEmpty* testInterfaceEmptyArg; |
1040 { | 1038 { |
1041 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); | 1039 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); |
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2046 if (referencedName) { | 2044 if (referencedName) { |
2047 if (!DOMDataStore::containsWrapper(referencedName, isolate)) | 2045 if (!DOMDataStore::containsWrapper(referencedName, isolate)) |
2048 referencedName->wrap(creationContext, isolate); | 2046 referencedName->wrap(creationContext, isolate); |
2049 DOMDataStore::setWrapperReference(wrapper, referencedName, isolate); | 2047 DOMDataStore::setWrapperReference(wrapper, referencedName, isolate); |
2050 } | 2048 } |
2051 setObjectGroup(isolate, scriptWrappable, wrapper); | 2049 setObjectGroup(isolate, scriptWrappable, wrapper); |
2052 } | 2050 } |
2053 | 2051 |
2054 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { | 2052 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { |
2055 {"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}, | 2053 {"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}, |
2056 {"testInterfaceConstructorAttribute", TestInterfaceImplementationV8Internal:
:TestInterfaceImplementationConstructorGetter, TestInterfaceImplementationV8Inte
rnal::TestInterfaceImplementationForceSetAttributeOnThisCallback, 0, 0, const_ca
st<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo), static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMCon
figuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2054 {"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}, |
2057 {"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}, | 2055 {"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}, |
2058 {"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}, | 2056 {"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}, |
2059 {"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}, | 2057 {"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}, |
2060 {"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}, | 2058 {"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}, |
2061 {"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}, | 2059 {"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}, |
2062 {"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}, | 2060 {"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}, |
2063 {"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}, | 2061 {"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}, |
2064 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2062 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2065 {"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}, | 2063 {"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}, |
2066 {"implementsNodeAttribute", TestInterfaceImplementationV8Internal::implement
sNodeAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsNodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2064 {"implementsNodeAttribute", TestInterfaceImplementationV8Internal::implement
sNodeAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsNodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2476 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2474 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2477 { | 2475 { |
2478 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2476 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
2479 } | 2477 } |
2480 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2478 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2481 { | 2479 { |
2482 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2480 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
2483 } | 2481 } |
2484 } // namespace blink | 2482 } // namespace blink |
2485 #endif // ENABLE(CONDITION) | 2483 #endif // ENABLE(CONDITION) |
OLD | NEW |