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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 v8::Handle<v8::Object> V8TestInterface2::findInstanceInPrototypeChain(v8::Handle
<v8::Value> v8Value, v8::Isolate* isolate) | 492 v8::Handle<v8::Object> V8TestInterface2::findInstanceInPrototypeChain(v8::Handle
<v8::Value> v8Value, v8::Isolate* isolate) |
493 { | 493 { |
494 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 494 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
495 } | 495 } |
496 | 496 |
497 TestInterface2* V8TestInterface2::toImplWithTypeCheck(v8::Isolate* isolate, v8::
Handle<v8::Value> value) | 497 TestInterface2* V8TestInterface2::toImplWithTypeCheck(v8::Isolate* isolate, v8::
Handle<v8::Value> value) |
498 { | 498 { |
499 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterface2>() : 0; | 499 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterface2>() : 0; |
500 } | 500 } |
501 | 501 |
502 | |
503 void V8TestInterface2::refObject(ScriptWrappableBase* internalPointer) | 502 void V8TestInterface2::refObject(ScriptWrappableBase* internalPointer) |
504 { | 503 { |
505 internalPointer->toImpl<TestInterface2>()->ref(); | 504 internalPointer->toImpl<TestInterface2>()->ref(); |
506 } | 505 } |
507 | 506 |
508 void V8TestInterface2::derefObject(ScriptWrappableBase* internalPointer) | 507 void V8TestInterface2::derefObject(ScriptWrappableBase* internalPointer) |
509 { | 508 { |
510 internalPointer->toImpl<TestInterface2>()->deref(); | 509 internalPointer->toImpl<TestInterface2>()->deref(); |
511 } | 510 } |
512 | 511 |
513 template<> | 512 template<> |
514 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object>
creationContext, v8::Isolate* isolate) | 513 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object>
creationContext, v8::Isolate* isolate) |
515 { | 514 { |
516 return toV8(impl, creationContext, isolate); | 515 return toV8(impl, creationContext, isolate); |
517 } | 516 } |
518 | 517 |
519 } // namespace blink | 518 } // namespace blink |
OLD | NEW |