| 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 "V8TestInterfaceConstructor3.h" | 8 #include "V8TestInterfaceConstructor3.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 v8::Handle<v8::Object> V8TestInterfaceConstructor3::findInstanceInPrototypeChain
(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) | 98 v8::Handle<v8::Object> V8TestInterfaceConstructor3::findInstanceInPrototypeChain
(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
| 99 { | 99 { |
| 100 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 100 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
| 101 } | 101 } |
| 102 | 102 |
| 103 TestInterfaceConstructor3* V8TestInterfaceConstructor3::toImplWithTypeCheck(v8::
Isolate* isolate, v8::Handle<v8::Value> value) | 103 TestInterfaceConstructor3* V8TestInterfaceConstructor3::toImplWithTypeCheck(v8::
Isolate* isolate, v8::Handle<v8::Value> value) |
| 104 { | 104 { |
| 105 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor3>() : 0; | 105 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor3>() : 0; |
| 106 } | 106 } |
| 107 | 107 |
| 108 | |
| 109 void V8TestInterfaceConstructor3::refObject(ScriptWrappableBase* internalPointer
) | 108 void V8TestInterfaceConstructor3::refObject(ScriptWrappableBase* internalPointer
) |
| 110 { | 109 { |
| 111 internalPointer->toImpl<TestInterfaceConstructor3>()->ref(); | 110 internalPointer->toImpl<TestInterfaceConstructor3>()->ref(); |
| 112 } | 111 } |
| 113 | 112 |
| 114 void V8TestInterfaceConstructor3::derefObject(ScriptWrappableBase* internalPoint
er) | 113 void V8TestInterfaceConstructor3::derefObject(ScriptWrappableBase* internalPoint
er) |
| 115 { | 114 { |
| 116 internalPointer->toImpl<TestInterfaceConstructor3>()->deref(); | 115 internalPointer->toImpl<TestInterfaceConstructor3>()->deref(); |
| 117 } | 116 } |
| 118 | 117 |
| 119 template<> | 118 template<> |
| 120 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 119 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
| 121 { | 120 { |
| 122 return toV8(impl, creationContext, isolate); | 121 return toV8(impl, creationContext, isolate); |
| 123 } | 122 } |
| 124 | 123 |
| 125 } // namespace blink | 124 } // namespace blink |
| OLD | NEW |