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

Side by Side Diff: Source/bindings/tests/results/V8SupportTestInterface.cpp

Issue 54123003: Clean up code generator before implementing [ExposeV8GetterAndSetter] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 #if ENABLE(Condition11) || ENABLE(Condition12) 398 #if ENABLE(Condition11) || ENABLE(Condition12)
399 {"supplementalMethod3", SupportTestInterfaceV8Internal::supplementalMethod3M ethodCallback, 0, 0}, 399 {"supplementalMethod3", SupportTestInterfaceV8Internal::supplementalMethod3M ethodCallback, 0, 0},
400 #endif // ENABLE(Condition11) || ENABLE(Condition12) 400 #endif // ENABLE(Condition11) || ENABLE(Condition12)
401 }; 401 };
402 402
403 static v8::Handle<v8::FunctionTemplate> ConfigureV8SupportTestInterfaceTemplate( v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType cu rrentWorldType) 403 static v8::Handle<v8::FunctionTemplate> ConfigureV8SupportTestInterfaceTemplate( v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType cu rrentWorldType)
404 { 404 {
405 desc->ReadOnlyPrototype(); 405 desc->ReadOnlyPrototype();
406 406
407 v8::Local<v8::Signature> defaultSignature; 407 v8::Local<v8::Signature> defaultSignature;
408 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "Suppor tTestInterface", v8::Local<v8::FunctionTemplate>(), V8SupportTestInterface::inte rnalFieldCount, 408 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "Suppor tTestInterface", v8::Local<v8::FunctionTemplate>(), V8SupportTestInterface::inte rnalFieldCount, V8SupportTestInterfaceAttributes, WTF_ARRAY_LENGTH(V8SupportTest InterfaceAttributes),V8SupportTestInterfaceMethods, WTF_ARRAY_LENGTH(V8SupportTe stInterfaceMethods), isolate, currentWorldType);
409 V8SupportTestInterfaceAttributes, WTF_ARRAY_LENGTH(V8SupportTestInterfac eAttributes),
410 V8SupportTestInterfaceMethods, WTF_ARRAY_LENGTH(V8SupportTestInterfaceMe thods), isolate, currentWorldType);
411 UNUSED_PARAM(defaultSignature); 409 UNUSED_PARAM(defaultSignature);
412 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); 410 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate();
413 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); 411 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate();
414 UNUSED_PARAM(instance); 412 UNUSED_PARAM(instance);
415 UNUSED_PARAM(proto); 413 UNUSED_PARAM(proto);
416 #if ENABLE(Condition11) || ENABLE(Condition12) 414 #if ENABLE(Condition11) || ENABLE(Condition12)
417 if (RuntimeEnabledFeatures::featureName13Enabled()) { 415 if (RuntimeEnabledFeatures::featureName13Enabled()) {
418 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\ 416 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\
419 {"Node13", SupportTestInterfaceV8Internal::Node13AttributeGetterCallback , SupportTestInterfaceV8Internal::Node13AttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */}; 417 {"Node13", SupportTestInterfaceV8Internal::Node13AttributeGetterCallback , SupportTestInterfaceV8Internal::Node13AttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */};
420 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura tion, isolate, currentWorldType); 418 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura tion, isolate, currentWorldType);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 V8DOMWrapper::associateObjectWithWrapper<V8SupportTestInterface>(impl, &wrap perTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 504 V8DOMWrapper::associateObjectWithWrapper<V8SupportTestInterface>(impl, &wrap perTypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
507 return wrapper; 505 return wrapper;
508 } 506 }
509 507
510 void V8SupportTestInterface::derefObject(void* object) 508 void V8SupportTestInterface::derefObject(void* object)
511 { 509 {
512 fromInternalPointer(object)->deref(); 510 fromInternalPointer(object)->deref();
513 } 511 }
514 512
515 } // namespace WebCore 513 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698