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 "V8TestSpecialOperations.h" | 8 #include "V8TestSpecialOperations.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); | 190 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); |
191 } | 191 } |
192 | 192 |
193 v8::Handle<v8::Object> V8TestSpecialOperations::findInstanceInPrototypeChain(v8:
:Handle<v8::Value> v8Value, v8::Isolate* isolate) | 193 v8::Handle<v8::Object> V8TestSpecialOperations::findInstanceInPrototypeChain(v8:
:Handle<v8::Value> v8Value, v8::Isolate* isolate) |
194 { | 194 { |
195 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); | 195 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe
rTypeInfo, v8Value); |
196 } | 196 } |
197 | 197 |
198 TestSpecialOperations* V8TestSpecialOperations::toImplWithTypeCheck(v8::Isolate*
isolate, v8::Handle<v8::Value> value) | 198 TestSpecialOperations* V8TestSpecialOperations::toImplWithTypeCheck(v8::Isolate*
isolate, v8::Handle<v8::Value> value) |
199 { | 199 { |
200 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestSpecialOperations>() : 0; | 200 return hasInstance(value, isolate) ? toImpl(v8::Handle<v8::Object>::Cast(val
ue)) : 0; |
201 } | 201 } |
202 | 202 |
203 | 203 |
204 void V8TestSpecialOperations::refObject(ScriptWrappableBase* internalPointer) | 204 void V8TestSpecialOperations::refObject(ScriptWrappableBase* internalPointer) |
205 { | 205 { |
206 internalPointer->toImpl<TestSpecialOperations>()->ref(); | 206 internalPointer->toImpl<TestSpecialOperations>()->ref(); |
207 } | 207 } |
208 | 208 |
209 void V8TestSpecialOperations::derefObject(ScriptWrappableBase* internalPointer) | 209 void V8TestSpecialOperations::derefObject(ScriptWrappableBase* internalPointer) |
210 { | 210 { |
211 internalPointer->toImpl<TestSpecialOperations>()->deref(); | 211 internalPointer->toImpl<TestSpecialOperations>()->deref(); |
212 } | 212 } |
213 | 213 |
214 WrapperPersistentNode* V8TestSpecialOperations::createPersistentHandle(ScriptWra
ppableBase* internalPointer) | 214 WrapperPersistentNode* V8TestSpecialOperations::createPersistentHandle(ScriptWra
ppableBase* internalPointer) |
215 { | 215 { |
216 ASSERT_NOT_REACHED(); | 216 ASSERT_NOT_REACHED(); |
217 return 0; | 217 return 0; |
218 } | 218 } |
219 | 219 |
220 template<> | 220 template<> |
221 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) | 221 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) |
222 { | 222 { |
223 return toV8(impl, creationContext, isolate); | 223 return toV8(impl, creationContext, isolate); |
224 } | 224 } |
225 | 225 |
226 } // namespace blink | 226 } // namespace blink |
OLD | NEW |