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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 TestInterfaceImplementation::setStaticStringAttribute(cppValue); | 362 TestInterfaceImplementation::setStaticStringAttribute(cppValue); |
363 } | 363 } |
364 | 364 |
365 static void staticStringAttributeAttributeSetterCallback(v8::Local<v8::Name>, v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 365 static void staticStringAttributeAttributeSetterCallback(v8::Local<v8::Name>, v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
366 { | 366 { |
367 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 367 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
368 TestInterfaceImplementationV8Internal::staticStringAttributeAttributeSetter(
v8Value, info); | 368 TestInterfaceImplementationV8Internal::staticStringAttributeAttributeSetter(
v8Value, info); |
369 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 369 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
370 } | 370 } |
371 | 371 |
| 372 static void staticReturnDOMWrapperAttributeAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) |
| 373 { |
| 374 v8SetReturnValue(info, TestInterfaceImplementation::staticReturnDOMWrapperAt
tribute(), info.GetIsolate()->GetCurrentContext()->Global()); |
| 375 } |
| 376 |
| 377 static void staticReturnDOMWrapperAttributeAttributeGetterCallback(v8::Local<v8:
:Name>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 378 { |
| 379 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 380 TestInterfaceImplementationV8Internal::staticReturnDOMWrapperAttributeAttrib
uteGetter(info); |
| 381 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 382 } |
| 383 |
| 384 static void staticReturnDOMWrapperAttributeAttributeSetter(v8::Local<v8::Value>
v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 385 { |
| 386 v8::Local<v8::Object> holder = info.Holder(); |
| 387 ExceptionState exceptionState(ExceptionState::SetterContext, "staticReturnDO
MWrapperAttribute", "TestInterface", holder, info.GetIsolate()); |
| 388 TestInterfaceImplementation* cppValue = V8TestInterface::toImplWithTypeCheck
(info.GetIsolate(), v8Value); |
| 389 if (!cppValue) { |
| 390 exceptionState.throwTypeError("The provided value is not of type 'TestIn
terface'."); |
| 391 exceptionState.throwIfNeeded(); |
| 392 return; |
| 393 } |
| 394 TestInterfaceImplementation::setStaticReturnDOMWrapperAttribute(WTF::getPtr(
cppValue)); |
| 395 } |
| 396 |
| 397 static void staticReturnDOMWrapperAttributeAttributeSetterCallback(v8::Local<v8:
:Name>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info
) |
| 398 { |
| 399 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 400 TestInterfaceImplementationV8Internal::staticReturnDOMWrapperAttributeAttrib
uteSetter(v8Value, info); |
| 401 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 402 } |
| 403 |
372 static void legacyInterfaceTypeCheckingAttributeAttributeGetter(const v8::Functi
onCallbackInfo<v8::Value>& info) | 404 static void legacyInterfaceTypeCheckingAttributeAttributeGetter(const v8::Functi
onCallbackInfo<v8::Value>& info) |
373 { | 405 { |
374 v8::Local<v8::Object> holder = info.Holder(); | 406 v8::Local<v8::Object> holder = info.Holder(); |
375 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); | 407 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
376 v8SetReturnValueFast(info, WTF::getPtr(impl->legacyInterfaceTypeCheckingAttr
ibute()), impl); | 408 v8SetReturnValueFast(info, WTF::getPtr(impl->legacyInterfaceTypeCheckingAttr
ibute()), impl); |
377 } | 409 } |
378 | 410 |
379 static void legacyInterfaceTypeCheckingAttributeAttributeGetterCallback(const v8
::FunctionCallbackInfo<v8::Value>& info) | 411 static void legacyInterfaceTypeCheckingAttributeAttributeGetterCallback(const v8
::FunctionCallbackInfo<v8::Value>& info) |
380 { | 412 { |
381 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 413 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1291 TestInterfaceImplementation::windowExposedStaticMethod(); | 1323 TestInterfaceImplementation::windowExposedStaticMethod(); |
1292 } | 1324 } |
1293 | 1325 |
1294 static void windowExposedStaticMethodMethodCallback(const v8::FunctionCallbackIn
fo<v8::Value>& info) | 1326 static void windowExposedStaticMethodMethodCallback(const v8::FunctionCallbackIn
fo<v8::Value>& info) |
1295 { | 1327 { |
1296 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 1328 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
1297 TestInterfaceImplementationV8Internal::windowExposedStaticMethodMethod(info)
; | 1329 TestInterfaceImplementationV8Internal::windowExposedStaticMethodMethod(info)
; |
1298 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 1330 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
1299 } | 1331 } |
1300 | 1332 |
| 1333 static void staticReturnDOMWrapperMethodMethod(const v8::FunctionCallbackInfo<v8
::Value>& info) |
| 1334 { |
| 1335 v8SetReturnValue(info, TestInterfaceImplementation::staticReturnDOMWrapperMe
thod(), info.GetIsolate()->GetCurrentContext()->Global()); |
| 1336 } |
| 1337 |
| 1338 static void staticReturnDOMWrapperMethodMethodCallback(const v8::FunctionCallbac
kInfo<v8::Value>& info) |
| 1339 { |
| 1340 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 1341 TestInterfaceImplementationV8Internal::staticReturnDOMWrapperMethodMethod(in
fo); |
| 1342 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 1343 } |
| 1344 |
1301 static void methodWithExposedAndRuntimeEnabledFlagMethod(const v8::FunctionCallb
ackInfo<v8::Value>& info) | 1345 static void methodWithExposedAndRuntimeEnabledFlagMethod(const v8::FunctionCallb
ackInfo<v8::Value>& info) |
1302 { | 1346 { |
1303 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 1347 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
1304 impl->methodWithExposedAndRuntimeEnabledFlag(); | 1348 impl->methodWithExposedAndRuntimeEnabledFlag(); |
1305 } | 1349 } |
1306 | 1350 |
1307 static void methodWithExposedAndRuntimeEnabledFlagMethodCallback(const v8::Funct
ionCallbackInfo<v8::Value>& info) | 1351 static void methodWithExposedAndRuntimeEnabledFlagMethodCallback(const v8::Funct
ionCallbackInfo<v8::Value>& info) |
1308 { | 1352 { |
1309 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 1353 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
1310 TestInterfaceImplementationV8Internal::methodWithExposedAndRuntimeEnabledFla
gMethod(info); | 1354 TestInterfaceImplementationV8Internal::methodWithExposedAndRuntimeEnabledFla
gMethod(info); |
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2264 "workerExposedStaticMethod", TestInterfaceImplementationV8Internal::
workerExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS
cripts, | 2308 "workerExposedStaticMethod", TestInterfaceImplementationV8Internal::
workerExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS
cripts, |
2265 }; | 2309 }; |
2266 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v
8::Signature>(), v8::None, workerExposedStaticMethodMethodConfiguration); | 2310 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v
8::Signature>(), v8::None, workerExposedStaticMethodMethodConfiguration); |
2267 } | 2311 } |
2268 if (context && (context->isDocument())) { | 2312 if (context && (context->isDocument())) { |
2269 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM
ethodConfiguration = { | 2313 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM
ethodConfiguration = { |
2270 "windowExposedStaticMethod", TestInterfaceImplementationV8Internal::
windowExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS
cripts, | 2314 "windowExposedStaticMethod", TestInterfaceImplementationV8Internal::
windowExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS
cripts, |
2271 }; | 2315 }; |
2272 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v
8::Signature>(), v8::None, windowExposedStaticMethodMethodConfiguration); | 2316 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v
8::Signature>(), v8::None, windowExposedStaticMethodMethodConfiguration); |
2273 } | 2317 } |
| 2318 const V8DOMConfiguration::MethodConfiguration staticReturnDOMWrapperMethodMe
thodConfiguration = { |
| 2319 "staticReturnDOMWrapperMethod", TestInterfaceImplementationV8Internal::s
taticReturnDOMWrapperMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAl
lScripts, |
| 2320 }; |
| 2321 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v8::S
ignature>(), v8::None, staticReturnDOMWrapperMethodMethodConfiguration); |
2274 const V8DOMConfiguration::MethodConfiguration implementsStaticVoidMethodMeth
odConfiguration = { | 2322 const V8DOMConfiguration::MethodConfiguration implementsStaticVoidMethodMeth
odConfiguration = { |
2275 "implementsStaticVoidMethod", TestInterfaceImplementationV8Internal::imp
lementsStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr
ipts, | 2323 "implementsStaticVoidMethod", TestInterfaceImplementationV8Internal::imp
lementsStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr
ipts, |
2276 }; | 2324 }; |
2277 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v8::S
ignature>(), v8::None, implementsStaticVoidMethodMethodConfiguration); | 2325 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v8::S
ignature>(), v8::None, implementsStaticVoidMethodMethodConfiguration); |
2278 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { | 2326 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { |
2279 const V8DOMConfiguration::MethodConfiguration implements2VoidMethodMetho
dConfiguration = { | 2327 const V8DOMConfiguration::MethodConfiguration implements2VoidMethodMetho
dConfiguration = { |
2280 "implements2VoidMethod", TestInterfaceImplementationV8Internal::impl
ements2VoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 2328 "implements2VoidMethod", TestInterfaceImplementationV8Internal::impl
ements2VoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
2281 }; | 2329 }; |
2282 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig
nature, v8::None, implements2VoidMethodMethodConfiguration); | 2330 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSig
nature, v8::None, implements2VoidMethodMethodConfiguration); |
2283 } | 2331 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2347 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v8::S
ignature>(), v8::None, partial2StaticVoidMethodMethodConfiguration); | 2395 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v8::S
ignature>(), v8::None, partial2StaticVoidMethodMethodConfiguration); |
2348 const V8DOMConfiguration::MethodConfiguration toJSONMethodConfiguration = { | 2396 const V8DOMConfiguration::MethodConfiguration toJSONMethodConfiguration = { |
2349 "toJSON", TestInterfaceImplementationV8Internal::toJSONMethodCallback, 0
, 0, V8DOMConfiguration::ExposedToAllScripts, | 2397 "toJSON", TestInterfaceImplementationV8Internal::toJSONMethodCallback, 0
, 0, V8DOMConfiguration::ExposedToAllScripts, |
2350 }; | 2398 }; |
2351 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toJSONMet
hodConfiguration); | 2399 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toJSONMet
hodConfiguration); |
2352 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{ | 2400 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{ |
2353 "toString", TestInterfaceImplementationV8Internal::toStringMethodCallbac
k, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 2401 "toString", TestInterfaceImplementationV8Internal::toStringMethodCallbac
k, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
2354 }; | 2402 }; |
2355 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringM
ethodConfiguration); | 2403 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringM
ethodConfiguration); |
2356 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestInterfaceImplementationV8Internal::staticStringAttributeAttrib
uteGetterCallback, TestInterfaceImplementationV8Internal::staticStringAttributeA
ttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyA
ttribute>(v8::None), v8::Local<v8::AccessorSignature>(), static_cast<v8::AccessC
ontrol>(v8::DEFAULT)); | 2404 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestInterfaceImplementationV8Internal::staticStringAttributeAttrib
uteGetterCallback, TestInterfaceImplementationV8Internal::staticStringAttributeA
ttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyA
ttribute>(v8::None), v8::Local<v8::AccessorSignature>(), static_cast<v8::AccessC
ontrol>(v8::DEFAULT)); |
| 2405 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticRetur
nDOMWrapperAttribute"), TestInterfaceImplementationV8Internal::staticReturnDOMWr
apperAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::st
aticReturnDOMWrapperAttributeAttributeSetterCallback, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignatu
re>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2357 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsS
taticReadOnlyLongAttribute"), TestInterfaceImplementationV8Internal::implementsS
taticReadOnlyLongAttributeAttributeGetterCallback, 0, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignatu
re>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 2406 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsS
taticReadOnlyLongAttribute"), TestInterfaceImplementationV8Internal::implementsS
taticReadOnlyLongAttributeAttributeGetterCallback, 0, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignatu
re>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2358 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsS
taticStringAttribute"), TestInterfaceImplementationV8Internal::implementsStaticS
tringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsStaticStringAttributeAttributeSetterCallback, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignatu
re>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 2407 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsS
taticStringAttribute"), TestInterfaceImplementationV8Internal::implementsStaticS
tringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsStaticStringAttributeAttributeSetterCallback, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignatu
re>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2359 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements2
StaticStringAttribute"), TestInterfaceImplementationV8Internal::implements2Stati
cStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::
implements2StaticStringAttributeAttributeSetterCallback, v8::External::New(isola
te, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSign
ature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 2408 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements2
StaticStringAttribute"), TestInterfaceImplementationV8Internal::implements2Stati
cStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::
implements2StaticStringAttributeAttributeSetterCallback, v8::External::New(isola
te, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSign
ature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2360 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements3
StaticStringAttribute"), TestInterfaceImplementationV8Internal::implements3Stati
cStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::
implements3StaticStringAttributeAttributeSetterCallback, v8::External::New(isola
te, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSign
ature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 2409 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements3
StaticStringAttribute"), TestInterfaceImplementationV8Internal::implements3Stati
cStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::
implements3StaticStringAttributeAttributeSetterCallback, v8::External::New(isola
te, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSign
ature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2361 #if ENABLE(PARTIAL_CONDITION) | 2410 #if ENABLE(PARTIAL_CONDITION) |
2362 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "partialStat
icLongAttribute"), TestInterfaceImplementationV8Internal::partialStaticLongAttri
buteAttributeGetterCallback, TestInterfaceImplementationV8Internal::partialStati
cLongAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cas
t<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignature>(), static_c
ast<v8::AccessControl>(v8::DEFAULT)); | 2411 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "partialStat
icLongAttribute"), TestInterfaceImplementationV8Internal::partialStaticLongAttri
buteAttributeGetterCallback, TestInterfaceImplementationV8Internal::partialStati
cLongAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cas
t<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignature>(), static_c
ast<v8::AccessControl>(v8::DEFAULT)); |
2363 #endif // ENABLE(PARTIAL_CONDITION) | 2412 #endif // ENABLE(PARTIAL_CONDITION) |
2364 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "partial2Sta
ticLongAttribute"), TestInterfaceImplementationV8Internal::partial2StaticLongAtt
ributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::partial2St
aticLongAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_
cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignature>(), stati
c_cast<v8::AccessControl>(v8::DEFAULT)); | 2413 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "partial2Sta
ticLongAttribute"), TestInterfaceImplementationV8Internal::partial2StaticLongAtt
ributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::partial2St
aticLongAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_
cast<v8::PropertyAttribute>(v8::None), v8::Local<v8::AccessorSignature>(), stati
c_cast<v8::AccessControl>(v8::DEFAULT)); |
2365 | 2414 |
2366 // Custom toString template | 2415 // Custom toString template |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2572 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2621 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2573 { | 2622 { |
2574 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2623 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
2575 } | 2624 } |
2576 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2625 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2577 { | 2626 { |
2578 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2627 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
2579 } | 2628 } |
2580 } // namespace blink | 2629 } // namespace blink |
2581 #endif // ENABLE(CONDITION) | 2630 #endif // ENABLE(CONDITION) |
OLD | NEW |