| 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 "V8TestInterface2.h" | 8 #include "V8TestInterface2.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 } | 455 } |
| 456 | 456 |
| 457 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { | 457 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis
tingObject) { |
| 458 v8SetReturnValue(info, info.Holder()); | 458 v8SetReturnValue(info, info.Holder()); |
| 459 return; | 459 return; |
| 460 } | 460 } |
| 461 | 461 |
| 462 TestInterface2V8Internal::constructor(info); | 462 TestInterface2V8Internal::constructor(info); |
| 463 } | 463 } |
| 464 | 464 |
| 465 static void installV8TestInterface2Template(v8::Handle<v8::FunctionTemplate> fun
ctionTemplate, v8::Isolate* isolate) | 465 static void installV8TestInterface2Template(v8::Local<v8::FunctionTemplate> func
tionTemplate, v8::Isolate* isolate) |
| 466 { | 466 { |
| 467 functionTemplate->ReadOnlyPrototype(); | 467 functionTemplate->ReadOnlyPrototype(); |
| 468 | 468 |
| 469 v8::Local<v8::Signature> defaultSignature; | 469 v8::Local<v8::Signature> defaultSignature; |
| 470 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterface2", v8::Local<v8::FunctionTemplate>(), V8TestInterfa
ce2::internalFieldCount, | 470 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func
tionTemplate, "TestInterface2", v8::Local<v8::FunctionTemplate>(), V8TestInterfa
ce2::internalFieldCount, |
| 471 0, 0, | 471 0, 0, |
| 472 0, 0, | 472 0, 0, |
| 473 V8TestInterface2Methods, WTF_ARRAY_LENGTH(V8TestInterface2Methods)); | 473 V8TestInterface2Methods, WTF_ARRAY_LENGTH(V8TestInterface2Methods)); |
| 474 functionTemplate->SetCallHandler(V8TestInterface2::constructorCallback); | 474 functionTemplate->SetCallHandler(V8TestInterface2::constructorCallback); |
| 475 functionTemplate->SetLength(0); | 475 functionTemplate->SetLength(0); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 { | 513 { |
| 514 scriptWrappable->toImpl<TestInterface2>()->ref(); | 514 scriptWrappable->toImpl<TestInterface2>()->ref(); |
| 515 } | 515 } |
| 516 | 516 |
| 517 void V8TestInterface2::derefObject(ScriptWrappable* scriptWrappable) | 517 void V8TestInterface2::derefObject(ScriptWrappable* scriptWrappable) |
| 518 { | 518 { |
| 519 scriptWrappable->toImpl<TestInterface2>()->deref(); | 519 scriptWrappable->toImpl<TestInterface2>()->deref(); |
| 520 } | 520 } |
| 521 | 521 |
| 522 } // namespace blink | 522 } // namespace blink |
| OLD | NEW |