| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  153 { |  153 { | 
|  154     desc->ReadOnlyPrototype(); |  154     desc->ReadOnlyPrototype(); | 
|  155  |  155  | 
|  156     v8::Local<v8::Signature> defaultSignature; |  156     v8::Local<v8::Signature> defaultSignature; | 
|  157     if (!RuntimeEnabledFeatures::testEnabled()) |  157     if (!RuntimeEnabledFeatures::testEnabled()) | 
|  158         defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "",
      V8TestEvent::GetTemplate(isolate, currentWorldType), V8TestExtendedEvent::inter
     nalFieldCount, 0, 0, 0, 0, isolate, currentWorldType); |  158         defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "",
      V8TestEvent::GetTemplate(isolate, currentWorldType), V8TestExtendedEvent::inter
     nalFieldCount, 0, 0, 0, 0, isolate, currentWorldType); | 
|  159     else |  159     else | 
|  160     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEx
     tendedEvent", V8TestEvent::GetTemplate(isolate, currentWorldType), V8TestExtende
     dEvent::internalFieldCount, |  160     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEx
     tendedEvent", V8TestEvent::GetTemplate(isolate, currentWorldType), V8TestExtende
     dEvent::internalFieldCount, | 
|  161         V8TestExtendedEventAttributes, WTF_ARRAY_LENGTH(V8TestExtendedEventAttri
     butes), |  161         V8TestExtendedEventAttributes, WTF_ARRAY_LENGTH(V8TestExtendedEventAttri
     butes), | 
|  162         0, 0, isolate, currentWorldType); |  162         0, 0, isolate, currentWorldType); | 
|  163     UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. |  163     UNUSED_PARAM(defaultSignature); | 
|  164     desc->SetCallHandler(V8TestExtendedEvent::constructorCallback); |  164     desc->SetCallHandler(V8TestExtendedEvent::constructorCallback); | 
|  165     desc->SetLength(1); |  165     desc->SetLength(1); | 
|  166  |  166  | 
|  167     // Custom toString template |  167     // Custom toString template | 
|  168     desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
     StringTemplate()); |  168     desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
     StringTemplate()); | 
|  169     return desc; |  169     return desc; | 
|  170 } |  170 } | 
|  171  |  171  | 
|  172 v8::Handle<v8::FunctionTemplate> V8TestExtendedEvent::GetTemplate(v8::Isolate* i
     solate, WrapperWorldType currentWorldType) |  172 v8::Handle<v8::FunctionTemplate> V8TestExtendedEvent::GetTemplate(v8::Isolate* i
     solate, WrapperWorldType currentWorldType) | 
|  173 { |  173 { | 
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  217 } |  217 } | 
|  218  |  218  | 
|  219 void V8TestExtendedEvent::derefObject(void* object) |  219 void V8TestExtendedEvent::derefObject(void* object) | 
|  220 { |  220 { | 
|  221     fromInternalPointer(object)->deref(); |  221     fromInternalPointer(object)->deref(); | 
|  222 } |  222 } | 
|  223  |  223  | 
|  224 } // namespace WebCore |  224 } // namespace WebCore | 
|  225  |  225  | 
|  226 #endif // ENABLE(TEST) |  226 #endif // ENABLE(TEST) | 
| OLD | NEW |