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

Side by Side Diff: Source/bindings/tests/results/V8TestEventConstructor.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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 136
137 TestEventConstructorV8Internal::constructor(args); 137 TestEventConstructorV8Internal::constructor(args);
138 } 138 }
139 139
140 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventConstructorTemplate( v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType cu rrentWorldType) 140 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventConstructorTemplate( v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType cu rrentWorldType)
141 { 141 {
142 desc->ReadOnlyPrototype(); 142 desc->ReadOnlyPrototype();
143 143
144 v8::Local<v8::Signature> defaultSignature; 144 v8::Local<v8::Signature> defaultSignature;
145 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv entConstructor", v8::Local<v8::FunctionTemplate>(), V8TestEventConstructor::inte rnalFieldCount, 145 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv entConstructor", v8::Local<v8::FunctionTemplate>(), V8TestEventConstructor::inte rnalFieldCount, V8TestEventConstructorAttributes, WTF_ARRAY_LENGTH(V8TestEventCo nstructorAttributes), 0, 0, isolate, currentWorldType);
146 V8TestEventConstructorAttributes, WTF_ARRAY_LENGTH(V8TestEventConstructo rAttributes),
147 0, 0, isolate, currentWorldType);
148 UNUSED_PARAM(defaultSignature); 146 UNUSED_PARAM(defaultSignature);
149 desc->SetCallHandler(V8TestEventConstructor::constructorCallback); 147 desc->SetCallHandler(V8TestEventConstructor::constructorCallback);
150 desc->SetLength(1); 148 desc->SetLength(1);
151 149
152 // Custom toString template 150 // Custom toString template
153 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate()); 151 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate());
154 return desc; 152 return desc;
155 } 153 }
156 154
157 v8::Handle<v8::FunctionTemplate> V8TestEventConstructor::GetTemplate(v8::Isolate * isolate, WrapperWorldType currentWorldType) 155 v8::Handle<v8::FunctionTemplate> V8TestEventConstructor::GetTemplate(v8::Isolate * isolate, WrapperWorldType currentWorldType)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 V8DOMWrapper::associateObjectWithWrapper<V8TestEventConstructor>(impl, &wrap perTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 198 V8DOMWrapper::associateObjectWithWrapper<V8TestEventConstructor>(impl, &wrap perTypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
201 return wrapper; 199 return wrapper;
202 } 200 }
203 201
204 void V8TestEventConstructor::derefObject(void* object) 202 void V8TestEventConstructor::derefObject(void* object)
205 { 203 {
206 fromInternalPointer(object)->deref(); 204 fromInternalPointer(object)->deref();
207 } 205 }
208 206
209 } // namespace WebCore 207 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestEvent.cpp ('k') | Source/bindings/tests/results/V8TestEventTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698