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

Side by Side Diff: Source/bindings/tests/results/V8TestInterface.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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 } 838 }
839 839
840 TestInterfaceV8Internal::constructor(args); 840 TestInterfaceV8Internal::constructor(args);
841 } 841 }
842 842
843 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfaceTemplate(v8::Han dle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWo rldType) 843 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfaceTemplate(v8::Han dle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWo rldType)
844 { 844 {
845 desc->ReadOnlyPrototype(); 845 desc->ReadOnlyPrototype();
846 846
847 v8::Local<v8::Signature> defaultSignature; 847 v8::Local<v8::Signature> defaultSignature;
848 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestIn terface", v8::Local<v8::FunctionTemplate>(), V8TestInterface::internalFieldCount , 848 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestIn terface", v8::Local<v8::FunctionTemplate>(), V8TestInterface::internalFieldCount , V8TestInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestInterfaceAttributes), V8Test InterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods), isolate, currentWorl dType);
849 V8TestInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestInterfaceAttributes),
850 V8TestInterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods), isolat e, currentWorldType);
851 UNUSED_PARAM(defaultSignature); 849 UNUSED_PARAM(defaultSignature);
852 desc->SetCallHandler(V8TestInterface::constructorCallback); 850 desc->SetCallHandler(V8TestInterface::constructorCallback);
853 desc->SetLength(1); 851 desc->SetLength(1);
854 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); 852 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate();
855 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); 853 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate();
856 UNUSED_PARAM(instance); 854 UNUSED_PARAM(instance);
857 UNUSED_PARAM(proto); 855 UNUSED_PARAM(proto);
858 if (RuntimeEnabledFeatures::featureName23Enabled()) { 856 if (RuntimeEnabledFeatures::featureName23Enabled()) {
859 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\ 857 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\
860 {"Node23", TestInterfaceV8Internal::Node23AttributeGetterCallback, TestI nterfaceV8Internal::Node23AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */}; 858 {"Node23", TestInterfaceV8Internal::Node23AttributeGetterCallback, TestI nterfaceV8Internal::Node23AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */};
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 } 982 }
985 983
986 void V8TestInterface::derefObject(void* object) 984 void V8TestInterface::derefObject(void* object)
987 { 985 {
988 fromInternalPointer(object)->deref(); 986 fromInternalPointer(object)->deref();
989 } 987 }
990 988
991 } // namespace WebCore 989 } // namespace WebCore
992 990
993 #endif // ENABLE(Condition1) || ENABLE(Condition2) 991 #endif // ENABLE(Condition1) || ENABLE(Condition2)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestExtendedEvent.cpp ('k') | Source/bindings/tests/results/V8TestInterfaceEmpty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698