| 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 "V8TestInterfaceConstructor4.h" | 8 #include "V8TestInterfaceConstructor4.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 v8::Handle<v8::Object> V8TestInterfaceConstructor4::findInstanceInPrototypeChain
(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) | 131 v8::Handle<v8::Object> V8TestInterfaceConstructor4::findInstanceInPrototypeChain
(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
| 132 { | 132 { |
| 133 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 133 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
| 134 } | 134 } |
| 135 | 135 |
| 136 TestInterfaceConstructor4* V8TestInterfaceConstructor4::toImplWithTypeCheck(v8::
Isolate* isolate, v8::Handle<v8::Value> value) | 136 TestInterfaceConstructor4* V8TestInterfaceConstructor4::toImplWithTypeCheck(v8::
Isolate* isolate, v8::Handle<v8::Value> value) |
| 137 { | 137 { |
| 138 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor4>() : 0; | 138 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor4>() : 0; |
| 139 } | 139 } |
| 140 | 140 |
| 141 | |
| 142 void V8TestInterfaceConstructor4::refObject(ScriptWrappableBase* internalPointer
) | 141 void V8TestInterfaceConstructor4::refObject(ScriptWrappableBase* internalPointer
) |
| 143 { | 142 { |
| 144 internalPointer->toImpl<TestInterfaceConstructor4>()->ref(); | 143 internalPointer->toImpl<TestInterfaceConstructor4>()->ref(); |
| 145 } | 144 } |
| 146 | 145 |
| 147 void V8TestInterfaceConstructor4::derefObject(ScriptWrappableBase* internalPoint
er) | 146 void V8TestInterfaceConstructor4::derefObject(ScriptWrappableBase* internalPoint
er) |
| 148 { | 147 { |
| 149 internalPointer->toImpl<TestInterfaceConstructor4>()->deref(); | 148 internalPointer->toImpl<TestInterfaceConstructor4>()->deref(); |
| 150 } | 149 } |
| 151 | 150 |
| 152 template<> | 151 template<> |
| 153 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor4* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 152 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor4* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
| 154 { | 153 { |
| 155 return toV8(impl, creationContext, isolate); | 154 return toV8(impl, creationContext, isolate); |
| 156 } | 155 } |
| 157 | 156 |
| 158 } // namespace blink | 157 } // namespace blink |
| OLD | NEW |