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

Side by Side Diff: Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp

Issue 23068032: Add constants and primitive type readonly attributes to Python IDL compiler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Re-reupload Created 7 years, 3 months 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 }; 313 };
314 314
315 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInte rfaceTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp erWorldType currentWorldType) 315 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInte rfaceTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp erWorldType currentWorldType)
316 { 316 {
317 desc->ReadOnlyPrototype(); 317 desc->ReadOnlyPrototype();
318 318
319 v8::Local<v8::Signature> defaultSignature; 319 v8::Local<v8::Signature> defaultSignature;
320 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestSe rializedScriptValueInterface", v8::Local<v8::FunctionTemplate>(), V8TestSerializ edScriptValueInterface::internalFieldCount, 320 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestSe rializedScriptValueInterface", v8::Local<v8::FunctionTemplate>(), V8TestSerializ edScriptValueInterface::internalFieldCount,
321 V8TestSerializedScriptValueInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestS erializedScriptValueInterfaceAttributes), 321 V8TestSerializedScriptValueInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestS erializedScriptValueInterfaceAttributes),
322 0, 0, isolate, currentWorldType); 322 0, 0, isolate, currentWorldType);
323 UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. 323 UNUSED_PARAM(defaultSignature);
324 324
325 // Custom toString template 325 // Custom toString template
326 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate()); 326 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate());
327 return desc; 327 return desc;
328 } 328 }
329 329
330 v8::Handle<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTempla te(v8::Isolate* isolate, WrapperWorldType currentWorldType) 330 v8::Handle<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTempla te(v8::Isolate* isolate, WrapperWorldType currentWorldType)
331 { 331 {
332 V8PerIsolateData* data = V8PerIsolateData::from(isolate); 332 V8PerIsolateData* data = V8PerIsolateData::from(isolate);
333 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo rldType).find(&info); 333 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo rldType).find(&info);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 } 375 }
376 376
377 void V8TestSerializedScriptValueInterface::derefObject(void* object) 377 void V8TestSerializedScriptValueInterface::derefObject(void* object)
378 { 378 {
379 fromInternalPointer(object)->deref(); 379 fromInternalPointer(object)->deref();
380 } 380 }
381 381
382 } // namespace WebCore 382 } // namespace WebCore
383 383
384 #endif // ENABLE(Condition1) || ENABLE(Condition2) 384 #endif // ENABLE(Condition1) || ENABLE(Condition2)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestOverloadedConstructors.cpp ('k') | Source/bindings/tests/results/V8TestTypedefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698