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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); | 128 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); |
129 } | 129 } |
130 | 130 |
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) ? toImpl(v8::Handle<v8::Object>::Cast(val
ue)) : 0; |
139 } | 139 } |
140 | 140 |
141 | 141 |
142 void V8TestInterfaceConstructor4::refObject(ScriptWrappableBase* internalPointer
) | 142 void V8TestInterfaceConstructor4::refObject(ScriptWrappableBase* internalPointer
) |
143 { | 143 { |
144 internalPointer->toImpl<TestInterfaceConstructor4>()->ref(); | 144 internalPointer->toImpl<TestInterfaceConstructor4>()->ref(); |
145 } | 145 } |
146 | 146 |
147 void V8TestInterfaceConstructor4::derefObject(ScriptWrappableBase* internalPoint
er) | 147 void V8TestInterfaceConstructor4::derefObject(ScriptWrappableBase* internalPoint
er) |
148 { | 148 { |
149 internalPointer->toImpl<TestInterfaceConstructor4>()->deref(); | 149 internalPointer->toImpl<TestInterfaceConstructor4>()->deref(); |
150 } | 150 } |
151 | 151 |
152 WrapperPersistentNode* V8TestInterfaceConstructor4::createPersistentHandle(Scrip
tWrappableBase* internalPointer) | 152 WrapperPersistentNode* V8TestInterfaceConstructor4::createPersistentHandle(Scrip
tWrappableBase* internalPointer) |
153 { | 153 { |
154 ASSERT_NOT_REACHED(); | 154 ASSERT_NOT_REACHED(); |
155 return 0; | 155 return 0; |
156 } | 156 } |
157 | 157 |
158 template<> | 158 template<> |
159 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor4* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 159 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor4* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
160 { | 160 { |
161 return toV8(impl, creationContext, isolate); | 161 return toV8(impl, creationContext, isolate); |
162 } | 162 } |
163 | 163 |
164 } // namespace blink | 164 } // namespace blink |
OLD | NEW |