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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestSpecialOperations>() : 0; |
201 } | 201 } |
202 | 202 |
203 | |
204 void V8TestSpecialOperations::refObject(ScriptWrappableBase* internalPointer) | 203 void V8TestSpecialOperations::refObject(ScriptWrappableBase* internalPointer) |
205 { | 204 { |
206 internalPointer->toImpl<TestSpecialOperations>()->ref(); | 205 internalPointer->toImpl<TestSpecialOperations>()->ref(); |
207 } | 206 } |
208 | 207 |
209 void V8TestSpecialOperations::derefObject(ScriptWrappableBase* internalPointer) | 208 void V8TestSpecialOperations::derefObject(ScriptWrappableBase* internalPointer) |
210 { | 209 { |
211 internalPointer->toImpl<TestSpecialOperations>()->deref(); | 210 internalPointer->toImpl<TestSpecialOperations>()->deref(); |
212 } | 211 } |
213 | 212 |
214 template<> | 213 template<> |
215 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) | 214 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O
bject> creationContext, v8::Isolate* isolate) |
216 { | 215 { |
217 return toV8(impl, creationContext, isolate); | 216 return toV8(impl, creationContext, isolate); |
218 } | 217 } |
219 | 218 |
220 } // namespace blink | 219 } // namespace blink |
OLD | NEW |