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

Side by Side Diff: Source/bindings/tests/results/V8TestEvent.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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 template <typename T> void V8_USE(T) { } 61 template <typename T> void V8_USE(T) { }
62 62
63 } // namespace TestEventV8Internal 63 } // namespace TestEventV8Internal
64 64
65 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTemplate(v8::Handle< v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldT ype) 65 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTemplate(v8::Handle< v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldT ype)
66 { 66 {
67 desc->ReadOnlyPrototype(); 67 desc->ReadOnlyPrototype();
68 68
69 v8::Local<v8::Signature> defaultSignature; 69 v8::Local<v8::Signature> defaultSignature;
70 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv ent", V8Event::GetTemplate(isolate, currentWorldType), V8TestEvent::internalFiel dCount, 70 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv ent", V8Event::GetTemplate(isolate, currentWorldType), V8TestEvent::internalFiel dCount, 0, 0, 0, 0, isolate, currentWorldType);
71 0, 0,
72 0, 0, isolate, currentWorldType);
73 UNUSED_PARAM(defaultSignature); 71 UNUSED_PARAM(defaultSignature);
74 72
75 // Custom toString template 73 // Custom toString template
76 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate()); 74 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to StringTemplate());
77 return desc; 75 return desc;
78 } 76 }
79 77
80 v8::Handle<v8::FunctionTemplate> V8TestEvent::GetTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType) 78 v8::Handle<v8::FunctionTemplate> V8TestEvent::GetTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType)
81 { 79 {
82 V8PerIsolateData* data = V8PerIsolateData::from(isolate); 80 V8PerIsolateData* data = V8PerIsolateData::from(isolate);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 V8DOMWrapper::associateObjectWithWrapper<V8TestEvent>(impl, &wrapperTypeInfo , wrapper, isolate, WrapperConfiguration::Independent); 121 V8DOMWrapper::associateObjectWithWrapper<V8TestEvent>(impl, &wrapperTypeInfo , wrapper, isolate, WrapperConfiguration::Independent);
124 return wrapper; 122 return wrapper;
125 } 123 }
126 124
127 void V8TestEvent::derefObject(void* object) 125 void V8TestEvent::derefObject(void* object)
128 { 126 {
129 fromInternalPointer(object)->deref(); 127 fromInternalPointer(object)->deref();
130 } 128 }
131 129
132 } // namespace WebCore 130 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestCustomAccessors.cpp ('k') | Source/bindings/tests/results/V8TestEventConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698