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 "V8TestInterfaceGarbageCollected.h" | 8 #include "V8TestInterfaceGarbageCollected.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 TestInterfaceGarbageCollected* V8TestInterfaceGarbageCollected::toImplWithTypeCh
eck(v8::Isolate* isolate, v8::Handle<v8::Value> value) | 162 TestInterfaceGarbageCollected* V8TestInterfaceGarbageCollected::toImplWithTypeCh
eck(v8::Isolate* isolate, v8::Handle<v8::Value> value) |
163 { | 163 { |
164 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceGarbageCollected>() : 0; | 164 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle
<v8::Object>::Cast(value))->toImpl<TestInterfaceGarbageCollected>() : 0; |
165 } | 165 } |
166 | 166 |
167 EventTarget* V8TestInterfaceGarbageCollected::toEventTarget(v8::Handle<v8::Objec
t> object) | 167 EventTarget* V8TestInterfaceGarbageCollected::toEventTarget(v8::Handle<v8::Objec
t> object) |
168 { | 168 { |
169 return toImpl(object); | 169 return toImpl(object); |
170 } | 170 } |
171 | 171 |
172 | |
173 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappableBase* internalPoi
nter) | 172 void V8TestInterfaceGarbageCollected::refObject(ScriptWrappableBase* internalPoi
nter) |
174 { | 173 { |
175 } | 174 } |
176 | 175 |
177 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappableBase* internalP
ointer) | 176 void V8TestInterfaceGarbageCollected::derefObject(ScriptWrappableBase* internalP
ointer) |
178 { | 177 { |
179 } | 178 } |
180 | 179 |
181 template<> | 180 template<> |
182 v8::Handle<v8::Value> toV8NoInline(TestInterfaceGarbageCollected* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) | 181 v8::Handle<v8::Value> toV8NoInline(TestInterfaceGarbageCollected* impl, v8::Hand
le<v8::Object> creationContext, v8::Isolate* isolate) |
183 { | 182 { |
184 return toV8(impl, creationContext, isolate); | 183 return toV8(impl, creationContext, isolate); |
185 } | 184 } |
186 | 185 |
187 } // namespace blink | 186 } // namespace blink |
OLD | NEW |