| 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 "V8TestInterfaceWillBeGarbageCollected.h" | 8 #include "V8TestInterfaceWillBeGarbageCollected.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); | 199 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); |
| 200 } | 200 } |
| 201 | 201 |
| 202 v8::Handle<v8::Object> V8TestInterfaceWillBeGarbageCollected::findInstanceInProt
otypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) | 202 v8::Handle<v8::Object> V8TestInterfaceWillBeGarbageCollected::findInstanceInProt
otypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
| 203 { | 203 { |
| 204 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 204 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
| 205 } | 205 } |
| 206 | 206 |
| 207 TestInterfaceWillBeGarbageCollected* V8TestInterfaceWillBeGarbageCollected::toIm
plWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) | 207 TestInterfaceWillBeGarbageCollected* V8TestInterfaceWillBeGarbageCollected::toIm
plWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) |
| 208 { | 208 { |
| 209 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceWillBeGarbageCollected>() : 0; | 209 return hasInstance(value, isolate) ? toImpl(v8::Handle<v8::Object>::Cast(val
ue)) : 0; |
| 210 } | 210 } |
| 211 | 211 |
| 212 EventTarget* V8TestInterfaceWillBeGarbageCollected::toEventTarget(v8::Handle<v8:
:Object> object) | 212 EventTarget* V8TestInterfaceWillBeGarbageCollected::toEventTarget(v8::Handle<v8:
:Object> object) |
| 213 { | 213 { |
| 214 return toImpl(object); | 214 return toImpl(object); |
| 215 } | 215 } |
| 216 | 216 |
| 217 | 217 |
| 218 void V8TestInterfaceWillBeGarbageCollected::refObject(ScriptWrappableBase* inter
nalPointer) | 218 void V8TestInterfaceWillBeGarbageCollected::refObject(ScriptWrappableBase* inter
nalPointer) |
| 219 { | 219 { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 239 #endif | 239 #endif |
| 240 } | 240 } |
| 241 | 241 |
| 242 template<> | 242 template<> |
| 243 v8::Handle<v8::Value> toV8NoInline(TestInterfaceWillBeGarbageCollected* impl, v8
::Handle<v8::Object> creationContext, v8::Isolate* isolate) | 243 v8::Handle<v8::Value> toV8NoInline(TestInterfaceWillBeGarbageCollected* impl, v8
::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
| 244 { | 244 { |
| 245 return toV8(impl, creationContext, isolate); | 245 return toV8(impl, creationContext, isolate); |
| 246 } | 246 } |
| 247 | 247 |
| 248 } // namespace blink | 248 } // namespace blink |
| OLD | NEW |