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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 447 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
448 TestInterfaceImplementationV8Internal::implementsNodeAttributeAttributeSette
r(v8Value, info); | 448 TestInterfaceImplementationV8Internal::implementsNodeAttributeAttributeSette
r(v8Value, info); |
449 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 449 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
450 } | 450 } |
451 | 451 |
452 static void implementsEventHandlerAttributeAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) | 452 static void implementsEventHandlerAttributeAttributeGetter(const v8::PropertyCal
lbackInfo<v8::Value>& info) |
453 { | 453 { |
454 v8::Local<v8::Object> holder = info.Holder(); | 454 v8::Local<v8::Object> holder = info.Holder(); |
455 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); | 455 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
456 EventListener* cppValue(impl->implementsEventHandlerAttribute()); | 456 EventListener* cppValue(impl->implementsEventHandlerAttribute()); |
457 v8SetReturnValue(info, cppValue ? v8::Handle<v8::Value>(V8AbstractEventListe
ner::cast(cppValue)->getListenerObject(impl->executionContext())) : v8::Handle<v
8::Value>(v8::Null(info.GetIsolate()))); | 457 v8SetReturnValue(info, cppValue ? v8::Local<v8::Value>(V8AbstractEventListen
er::cast(cppValue)->getListenerObject(impl->executionContext())) : v8::Local<v8:
:Value>(v8::Null(info.GetIsolate()))); |
458 } | 458 } |
459 | 459 |
460 static void implementsEventHandlerAttributeAttributeGetterCallback(v8::Local<v8:
:String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 460 static void implementsEventHandlerAttributeAttributeGetterCallback(v8::Local<v8:
:String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
461 { | 461 { |
462 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 462 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
463 TestInterfaceImplementationV8Internal::implementsEventHandlerAttributeAttrib
uteGetter(info); | 463 TestInterfaceImplementationV8Internal::implementsEventHandlerAttributeAttrib
uteGetter(info); |
464 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 464 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
465 } | 465 } |
466 | 466 |
467 static void implementsEventHandlerAttributeAttributeSetter(v8::Local<v8::Value>
v8Value, const v8::PropertyCallbackInfo<void>& info) | 467 static void implementsEventHandlerAttributeAttributeSetter(v8::Local<v8::Value>
v8Value, const v8::PropertyCallbackInfo<void>& info) |
(...skipping 1846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2314 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2314 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2315 { | 2315 { |
2316 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2316 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
2317 } | 2317 } |
2318 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2318 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2319 { | 2319 { |
2320 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2320 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
2321 } | 2321 } |
2322 } // namespace blink | 2322 } // namespace blink |
2323 #endif // ENABLE(CONDITION) | 2323 #endif // ENABLE(CONDITION) |
OLD | NEW |