Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterface.cpp

Issue 832503002: [bindings] Eliminate remaining traces of Handle<> from the generated binding code. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestDictionary.cpp ('k') | Source/bindings/tests/results/core/V8TestInterfaceNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698