| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::Handle<v8::Functi
onTemplate> 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(functionTempl
ate, "TestInterfaceEventConstructor", V8Event::domTemplate(isolate), V8TestInter
faceEventConstructor::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 isolate); | |
| 346 functionTemplate->SetCallHandler(V8TestInterfaceEventConstructor::constructo
rCallback); | 345 functionTemplate->SetCallHandler(V8TestInterfaceEventConstructor::constructo
rCallback); |
| 347 functionTemplate->SetLength(1); | 346 functionTemplate->SetLength(1); |
| 348 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 347 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 349 ALLOW_UNUSED_LOCAL(instanceTemplate); | 348 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| 350 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 349 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
| 351 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 350 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
| 352 | 351 |
| 353 // Custom toString template | 352 // Custom toString template |
| 354 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 353 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 355 } | 354 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 #endif | 387 #endif |
| 389 } | 388 } |
| 390 | 389 |
| 391 template<> | 390 template<> |
| 392 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) | 391 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventConstructor* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) |
| 393 { | 392 { |
| 394 return toV8(impl, creationContext, isolate); | 393 return toV8(impl, creationContext, isolate); |
| 395 } | 394 } |
| 396 | 395 |
| 397 } // namespace blink | 396 } // namespace blink |
| OLD | NEW |