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

Side by Side Diff: Source/bindings/tests/results/V8TestOverloadedConstructors.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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 152
153 TestOverloadedConstructorsV8Internal::constructor(args); 153 TestOverloadedConstructorsV8Internal::constructor(args);
154 } 154 }
155 155
156 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestOverloadedConstructorsTem plate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldT ype currentWorldType) 156 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestOverloadedConstructorsTem plate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldT ype currentWorldType)
157 { 157 {
158 desc->ReadOnlyPrototype(); 158 desc->ReadOnlyPrototype();
159 159
160 v8::Local<v8::Signature> defaultSignature; 160 v8::Local<v8::Signature> defaultSignature;
161 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestOv erloadedConstructors", v8::Local<v8::FunctionTemplate>(), V8TestOverloadedConstr uctors::internalFieldCount, 161 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestOv erloadedConstructors", v8::Local<v8::FunctionTemplate>(), V8TestOverloadedConstr uctors::internalFieldCount, 0, 0, 0, 0, isolate, currentWorldType);
162 0, 0,
163 0, 0, isolate, currentWorldType);
164 UNUSED_PARAM(defaultSignature); 162 UNUSED_PARAM(defaultSignature);
165 desc->SetCallHandler(V8TestOverloadedConstructors::constructorCallback); 163 desc->SetCallHandler(V8TestOverloadedConstructors::constructorCallback);
166 desc->SetLength(1); 164 desc->SetLength(1);
167 165
168 // Custom toString template 166 // Custom toString template
169 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate()); 167 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate());
170 return desc; 168 return desc;
171 } 169 }
172 170
173 v8::Handle<v8::FunctionTemplate> V8TestOverloadedConstructors::GetTemplate(v8::I solate* isolate, WrapperWorldType currentWorldType) 171 v8::Handle<v8::FunctionTemplate> V8TestOverloadedConstructors::GetTemplate(v8::I solate* isolate, WrapperWorldType currentWorldType)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 V8DOMWrapper::associateObjectWithWrapper<V8TestOverloadedConstructors>(impl, &wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 214 V8DOMWrapper::associateObjectWithWrapper<V8TestOverloadedConstructors>(impl, &wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
217 return wrapper; 215 return wrapper;
218 } 216 }
219 217
220 void V8TestOverloadedConstructors::derefObject(void* object) 218 void V8TestOverloadedConstructors::derefObject(void* object)
221 { 219 {
222 fromInternalPointer(object)->deref(); 220 fromInternalPointer(object)->deref();
223 } 221 }
224 222
225 } // namespace WebCore 223 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698