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

Side by Side Diff: Source/bindings/tests/results/V8TestObjectPython.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 4976 matching lines...) Expand 10 before | Expand all | Expand 10 after
4987 {"voidMethodVariadicStringArg", TestObjectPythonV8Internal::voidMethodVariad icStringArgMethodCallback, 0, 1}, 4987 {"voidMethodVariadicStringArg", TestObjectPythonV8Internal::voidMethodVariad icStringArgMethodCallback, 0, 1},
4988 {"voidMethodStringArgVariadicStringArg", TestObjectPythonV8Internal::voidMet hodStringArgVariadicStringArgMethodCallback, 0, 2}, 4988 {"voidMethodStringArgVariadicStringArg", TestObjectPythonV8Internal::voidMet hodStringArgVariadicStringArgMethodCallback, 0, 2},
4989 {"voidMethodClampUnsignedShortArgClampUnsignedLongArg", TestObjectPythonV8In ternal::voidMethodClampUnsignedShortArgClampUnsignedLongArgMethodCallback, 0, 2} , 4989 {"voidMethodClampUnsignedShortArgClampUnsignedLongArg", TestObjectPythonV8In ternal::voidMethodClampUnsignedShortArgClampUnsignedLongArgMethodCallback, 0, 2} ,
4990 }; 4990 };
4991 4991
4992 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestObjectPythonTemplate(v8:: Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType curren tWorldType) 4992 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestObjectPythonTemplate(v8:: Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType curren tWorldType)
4993 { 4993 {
4994 desc->ReadOnlyPrototype(); 4994 desc->ReadOnlyPrototype();
4995 4995
4996 v8::Local<v8::Signature> defaultSignature; 4996 v8::Local<v8::Signature> defaultSignature;
4997 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestOb jectPython", v8::Local<v8::FunctionTemplate>(), V8TestObjectPython::internalFiel dCount, 4997 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestOb jectPython", v8::Local<v8::FunctionTemplate>(), V8TestObjectPython::internalFiel dCount, V8TestObjectPythonAttributes, WTF_ARRAY_LENGTH(V8TestObjectPythonAttribu tes), V8TestObjectPythonMethods, WTF_ARRAY_LENGTH(V8TestObjectPythonMethods), is olate, currentWorldType);
4998 V8TestObjectPythonAttributes, WTF_ARRAY_LENGTH(V8TestObjectPythonAttribu tes),
4999 V8TestObjectPythonMethods, WTF_ARRAY_LENGTH(V8TestObjectPythonMethods), isolate, currentWorldType);
5000 UNUSED_PARAM(defaultSignature); 4998 UNUSED_PARAM(defaultSignature);
5001 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); 4999 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate();
5002 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); 5000 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate();
5003 UNUSED_PARAM(instance); 5001 UNUSED_PARAM(instance);
5004 UNUSED_PARAM(proto); 5002 UNUSED_PARAM(proto);
5005 if (RuntimeEnabledFeatures::featureNameEnabled()) { 5003 if (RuntimeEnabledFeatures::featureNameEnabled()) {
5006 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\ 5004 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu ration =\
5007 {"runtimeEnabledLongAttribute", TestObjectPythonV8Internal::runtimeEnabl edLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::runtimeEnabl edLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>( v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */} ; 5005 {"runtimeEnabledLongAttribute", TestObjectPythonV8Internal::runtimeEnabl edLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::runtimeEnabl edLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>( v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */} ;
5008 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura tion, isolate, currentWorldType); 5006 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura tion, isolate, currentWorldType);
5009 } 5007 }
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
5180 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 5178 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &wrapperT ypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
5181 return wrapper; 5179 return wrapper;
5182 } 5180 }
5183 5181
5184 void V8TestObjectPython::derefObject(void* object) 5182 void V8TestObjectPython::derefObject(void* object)
5185 { 5183 {
5186 fromInternalPointer(object)->deref(); 5184 fromInternalPointer(object)->deref();
5187 } 5185 }
5188 5186
5189 } // namespace WebCore 5187 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | Source/bindings/tests/results/V8TestOverloadedConstructors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698