| 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 "V8TestInterfaceConstructor2.h" | 8 #include "V8TestInterfaceConstructor2.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/Dictionary.h" | 10 #include "bindings/core/v8/Dictionary.h" |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 v8::Handle<v8::Object> V8TestInterfaceConstructor2::findInstanceInPrototypeChain
(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) | 221 v8::Handle<v8::Object> V8TestInterfaceConstructor2::findInstanceInPrototypeChain
(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
| 222 { | 222 { |
| 223 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 223 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
| 224 } | 224 } |
| 225 | 225 |
| 226 TestInterfaceConstructor2* V8TestInterfaceConstructor2::toImplWithTypeCheck(v8::
Isolate* isolate, v8::Handle<v8::Value> value) | 226 TestInterfaceConstructor2* V8TestInterfaceConstructor2::toImplWithTypeCheck(v8::
Isolate* isolate, v8::Handle<v8::Value> value) |
| 227 { | 227 { |
| 228 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor2>() : 0; | 228 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceConstructor2>() : 0; |
| 229 } | 229 } |
| 230 | 230 |
| 231 | |
| 232 void V8TestInterfaceConstructor2::refObject(ScriptWrappableBase* internalPointer
) | 231 void V8TestInterfaceConstructor2::refObject(ScriptWrappableBase* internalPointer
) |
| 233 { | 232 { |
| 234 internalPointer->toImpl<TestInterfaceConstructor2>()->ref(); | 233 internalPointer->toImpl<TestInterfaceConstructor2>()->ref(); |
| 235 } | 234 } |
| 236 | 235 |
| 237 void V8TestInterfaceConstructor2::derefObject(ScriptWrappableBase* internalPoint
er) | 236 void V8TestInterfaceConstructor2::derefObject(ScriptWrappableBase* internalPoint
er) |
| 238 { | 237 { |
| 239 internalPointer->toImpl<TestInterfaceConstructor2>()->deref(); | 238 internalPointer->toImpl<TestInterfaceConstructor2>()->deref(); |
| 240 } | 239 } |
| 241 | 240 |
| 242 template<> | 241 template<> |
| 243 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 242 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
| 244 { | 243 { |
| 245 return toV8(impl, creationContext, isolate); | 244 return toV8(impl, creationContext, isolate); |
| 246 } | 245 } |
| 247 | 246 |
| 248 } // namespace blink | 247 } // namespace blink |
| OLD | NEW |