| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
| 6 | 6 |
| 7 #include "config.h" | 7 #include "config.h" |
| 8 #include "V8TestInterfaceEventConstructor.h" | 8 #include "V8TestInterfaceEventConstructor.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 } | 326 } |
| 327 | 327 |
| 328 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 328 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
| 329 v8SetReturnValue(info, info.Holder()); | 329 v8SetReturnValue(info, info.Holder()); |
| 330 return; | 330 return; |
| 331 } | 331 } |
| 332 | 332 |
| 333 TestInterfaceEventConstructorV8Internal::constructor(info); | 333 TestInterfaceEventConstructorV8Internal::constructor(info); |
| 334 } | 334 } |
| 335 | 335 |
| 336 static void installV8TestInterfaceEventConstructorTemplate(v8::Handle<v8::Functi
onTemplate> functionTemplate, v8::Isolate* isolate) | 336 static void installV8TestInterfaceEventConstructorTemplate(v8::Local<v8::Functio
nTemplate> functionTemplate, v8::Isolate* isolate) |
| 337 { | 337 { |
| 338 functionTemplate->ReadOnlyPrototype(); | 338 functionTemplate->ReadOnlyPrototype(); |
| 339 | 339 |
| 340 v8::Local<v8::Signature> defaultSignature; | 340 v8::Local<v8::Signature> defaultSignature; |
| 341 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceEventConstructor", V8Event::domTemplate(isolate), V8
TestInterfaceEventConstructor::internalFieldCount, | 341 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterfaceEventConstructor", V8Event::domTemplate(isolate), V8
TestInterfaceEventConstructor::internalFieldCount, |
| 342 V8TestInterfaceEventConstructorAttributes, WTF_ARRAY_LENGTH(V8TestInterf
aceEventConstructorAttributes), | 342 V8TestInterfaceEventConstructorAttributes, WTF_ARRAY_LENGTH(V8TestInterf
aceEventConstructorAttributes), |
| 343 0, 0, | 343 0, 0, |
| 344 0, 0); | 344 0, 0); |
| 345 functionTemplate->SetCallHandler(V8TestInterfaceEventConstructor::constructo
rCallback); | 345 functionTemplate->SetCallHandler(V8TestInterfaceEventConstructor::constructo
rCallback); |
| 346 functionTemplate->SetLength(1); | 346 functionTemplate->SetLength(1); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 } | 381 } |
| 382 | 382 |
| 383 void V8TestInterfaceEventConstructor::derefObject(ScriptWrappable* scriptWrappab
le) | 383 void V8TestInterfaceEventConstructor::derefObject(ScriptWrappable* scriptWrappab
le) |
| 384 { | 384 { |
| 385 #if !ENABLE(OILPAN) | 385 #if !ENABLE(OILPAN) |
| 386 scriptWrappable->toImpl<TestInterfaceEventConstructor>()->deref(); | 386 scriptWrappable->toImpl<TestInterfaceEventConstructor>()->deref(); |
| 387 #endif | 387 #endif |
| 388 } | 388 } |
| 389 | 389 |
| 390 } // namespace blink | 390 } // namespace blink |
| OLD | NEW |