| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   64 } // namespace TestEventV8Internal |   64 } // namespace TestEventV8Internal | 
|   65  |   65  | 
|   66 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTemplate(v8::Handle<
     v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldT
     ype) |   66 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTemplate(v8::Handle<
     v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldT
     ype) | 
|   67 { |   67 { | 
|   68     desc->ReadOnlyPrototype(); |   68     desc->ReadOnlyPrototype(); | 
|   69  |   69  | 
|   70     v8::Local<v8::Signature> defaultSignature; |   70     v8::Local<v8::Signature> defaultSignature; | 
|   71     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv
     ent", V8Event::GetTemplate(isolate, currentWorldType), V8TestEvent::internalFiel
     dCount, |   71     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv
     ent", V8Event::GetTemplate(isolate, currentWorldType), V8TestEvent::internalFiel
     dCount, | 
|   72         0, 0, |   72         0, 0, | 
|   73         0, 0, isolate, currentWorldType); |   73         0, 0, isolate, currentWorldType); | 
|   74     UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. |   74     UNUSED_PARAM(defaultSignature); | 
|   75  |   75  | 
|   76     // Custom toString template |   76     // Custom toString template | 
|   77     desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
     StringTemplate()); |   77     desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
     StringTemplate()); | 
|   78     return desc; |   78     return desc; | 
|   79 } |   79 } | 
|   80  |   80  | 
|   81 v8::Handle<v8::FunctionTemplate> V8TestEvent::GetTemplate(v8::Isolate* isolate, 
     WrapperWorldType currentWorldType) |   81 v8::Handle<v8::FunctionTemplate> V8TestEvent::GetTemplate(v8::Isolate* isolate, 
     WrapperWorldType currentWorldType) | 
|   82 { |   82 { | 
|   83     V8PerIsolateData* data = V8PerIsolateData::from(isolate); |   83     V8PerIsolateData* data = V8PerIsolateData::from(isolate); | 
|   84     V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo
     rldType).find(&info); |   84     V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo
     rldType).find(&info); | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  124     V8DOMWrapper::associateObjectWithWrapper<V8TestEvent>(impl, &info, wrapper, 
     isolate, WrapperConfiguration::Independent); |  124     V8DOMWrapper::associateObjectWithWrapper<V8TestEvent>(impl, &info, wrapper, 
     isolate, WrapperConfiguration::Independent); | 
|  125     return wrapper; |  125     return wrapper; | 
|  126 } |  126 } | 
|  127  |  127  | 
|  128 void V8TestEvent::derefObject(void* object) |  128 void V8TestEvent::derefObject(void* object) | 
|  129 { |  129 { | 
|  130     fromInternalPointer(object)->deref(); |  130     fromInternalPointer(object)->deref(); | 
|  131 } |  131 } | 
|  132  |  132  | 
|  133 } // namespace WebCore |  133 } // namespace WebCore | 
| OLD | NEW |