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

Side by Side Diff: Source/bindings/tests/results/V8TestNode.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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 150 }
151 151
152 TestNodeV8Internal::constructor(args); 152 TestNodeV8Internal::constructor(args);
153 } 153 }
154 154
155 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestNodeTemplate(v8::Handle<v 8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldTy pe) 155 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestNodeTemplate(v8::Handle<v 8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldTy pe)
156 { 156 {
157 desc->ReadOnlyPrototype(); 157 desc->ReadOnlyPrototype();
158 158
159 v8::Local<v8::Signature> defaultSignature; 159 v8::Local<v8::Signature> defaultSignature;
160 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestNo de", V8Node::GetTemplate(isolate, currentWorldType), V8TestNode::internalFieldCo unt, 160 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestNo de", V8Node::GetTemplate(isolate, currentWorldType), V8TestNode::internalFieldCo unt, V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes), 0, 0, isolate , currentWorldType);
161 V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes),
162 0, 0, isolate, currentWorldType);
163 UNUSED_PARAM(defaultSignature); 161 UNUSED_PARAM(defaultSignature);
164 desc->SetCallHandler(V8TestNode::constructorCallback); 162 desc->SetCallHandler(V8TestNode::constructorCallback);
165 desc->SetLength(0); 163 desc->SetLength(0);
166 164
167 // Custom toString template 165 // Custom toString template
168 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate()); 166 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate());
169 return desc; 167 return desc;
170 } 168 }
171 169
172 v8::Handle<v8::FunctionTemplate> V8TestNode::GetTemplate(v8::Isolate* isolate, W rapperWorldType currentWorldType) 170 v8::Handle<v8::FunctionTemplate> V8TestNode::GetTemplate(v8::Isolate* isolate, W rapperWorldType currentWorldType)
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 V8DOMWrapper::associateObjectWithWrapper<V8TestNode>(impl, &wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Dependent); 218 V8DOMWrapper::associateObjectWithWrapper<V8TestNode>(impl, &wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Dependent);
221 return wrapper; 219 return wrapper;
222 } 220 }
223 221
224 void V8TestNode::derefObject(void* object) 222 void V8TestNode::derefObject(void* object)
225 { 223 {
226 fromInternalPointer(object)->deref(); 224 fromInternalPointer(object)->deref();
227 } 225 }
228 226
229 } // namespace WebCore 227 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestNamedConstructor.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698