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

Side by Side Diff: Source/bindings/tests/results/V8Float64Array.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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 } 143 }
144 144
145 Float64ArrayV8Internal::constructor(args); 145 Float64ArrayV8Internal::constructor(args);
146 } 146 }
147 147
148 static v8::Handle<v8::FunctionTemplate> ConfigureV8Float64ArrayTemplate(v8::Hand le<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWor ldType) 148 static v8::Handle<v8::FunctionTemplate> ConfigureV8Float64ArrayTemplate(v8::Hand le<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWor ldType)
149 { 149 {
150 desc->ReadOnlyPrototype(); 150 desc->ReadOnlyPrototype();
151 151
152 v8::Local<v8::Signature> defaultSignature; 152 v8::Local<v8::Signature> defaultSignature;
153 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "Float6 4Array", V8ArrayBufferView::GetTemplate(isolate, currentWorldType), V8Float64Arr ay::internalFieldCount, 153 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "Float6 4Array", V8ArrayBufferView::GetTemplate(isolate, currentWorldType), V8Float64Arr ay::internalFieldCount, 0, 0,V8Float64ArrayMethods, WTF_ARRAY_LENGTH(V8Float64Ar rayMethods), isolate, currentWorldType);
154 0, 0,
155 V8Float64ArrayMethods, WTF_ARRAY_LENGTH(V8Float64ArrayMethods), isolate, currentWorldType);
156 UNUSED_PARAM(defaultSignature); 154 UNUSED_PARAM(defaultSignature);
157 desc->SetCallHandler(V8Float64Array::constructorCallback); 155 desc->SetCallHandler(V8Float64Array::constructorCallback);
158 desc->SetLength(1); 156 desc->SetLength(1);
159 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); 157 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate();
160 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); 158 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate();
161 UNUSED_PARAM(instance); 159 UNUSED_PARAM(instance);
162 UNUSED_PARAM(proto); 160 UNUSED_PARAM(proto);
163 desc->InstanceTemplate()->SetIndexedPropertyHandler(Float64ArrayV8Internal:: indexedPropertyGetterCallback, Float64ArrayV8Internal::indexedPropertySetterCall back, 0, 0, indexedPropertyEnumerator<Float64Array>); 161 desc->InstanceTemplate()->SetIndexedPropertyHandler(Float64ArrayV8Internal:: indexedPropertyGetterCallback, Float64ArrayV8Internal::indexedPropertySetterCall back, 0, 0, indexedPropertyEnumerator<Float64Array>);
164 162
165 // Custom Signature 'foo' 163 // Custom Signature 'foo'
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 V8DOMWrapper::associateObjectWithWrapper<V8Float64Array>(impl, &wrapperTypeI nfo, wrapper, isolate, WrapperConfiguration::Independent); 218 V8DOMWrapper::associateObjectWithWrapper<V8Float64Array>(impl, &wrapperTypeI nfo, wrapper, isolate, WrapperConfiguration::Independent);
221 return wrapper; 219 return wrapper;
222 } 220 }
223 221
224 void V8Float64Array::derefObject(void* object) 222 void V8Float64Array::derefObject(void* object)
225 { 223 {
226 fromInternalPointer(object)->deref(); 224 fromInternalPointer(object)->deref();
227 } 225 }
228 226
229 } // namespace WebCore 227 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698