| OLD | NEW | 
|---|
| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 63 } // namespace TestInterfaceEmptyV8Internal | 63 } // namespace TestInterfaceEmptyV8Internal | 
| 64 | 64 | 
| 65 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfaceEmptyTemplate(v8
     ::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType curr
     entWorldType) | 65 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfaceEmptyTemplate(v8
     ::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType curr
     entWorldType) | 
| 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, "TestIn
     terfaceEmpty", v8::Local<v8::FunctionTemplate>(), V8TestInterfaceEmpty::internal
     FieldCount, | 70     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestIn
     terfaceEmpty", v8::Local<v8::FunctionTemplate>(), V8TestInterfaceEmpty::internal
     FieldCount, | 
| 71         0, 0, | 71         0, 0, | 
| 72         0, 0, isolate, currentWorldType); | 72         0, 0, isolate, currentWorldType); | 
| 73     UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. | 73     UNUSED_PARAM(defaultSignature); | 
| 74 | 74 | 
| 75     // Custom toString template | 75     // Custom toString template | 
| 76     desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
     StringTemplate()); | 76     desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
     StringTemplate()); | 
| 77     return desc; | 77     return desc; | 
| 78 } | 78 } | 
| 79 | 79 | 
| 80 v8::Handle<v8::FunctionTemplate> V8TestInterfaceEmpty::GetTemplate(v8::Isolate* 
     isolate, WrapperWorldType currentWorldType) | 80 v8::Handle<v8::FunctionTemplate> V8TestInterfaceEmpty::GetTemplate(v8::Isolate* 
     isolate, WrapperWorldType currentWorldType) | 
| 81 { | 81 { | 
| 82     V8PerIsolateData* data = V8PerIsolateData::from(isolate); | 82     V8PerIsolateData* data = V8PerIsolateData::from(isolate); | 
| 83     V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo
     rldType).find(&info); | 83     V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo
     rldType).find(&info); | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 123     V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceEmpty>(impl, &info, 
     wrapper, isolate, WrapperConfiguration::Independent); | 123     V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceEmpty>(impl, &info, 
     wrapper, isolate, WrapperConfiguration::Independent); | 
| 124     return wrapper; | 124     return wrapper; | 
| 125 } | 125 } | 
| 126 | 126 | 
| 127 void V8TestInterfaceEmpty::derefObject(void* object) | 127 void V8TestInterfaceEmpty::derefObject(void* object) | 
| 128 { | 128 { | 
| 129     fromInternalPointer(object)->deref(); | 129     fromInternalPointer(object)->deref(); | 
| 130 } | 130 } | 
| 131 | 131 | 
| 132 } // namespace WebCore | 132 } // namespace WebCore | 
| OLD | NEW | 
|---|