Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(947)

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e); 218 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
219 } 219 }
220 220
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) ? toImpl(v8::Handle<v8::Object>::Cast(val ue)) : 0;
229 } 229 }
230 230
231 231
232 void V8TestInterfaceConstructor2::refObject(ScriptWrappableBase* internalPointer ) 232 void V8TestInterfaceConstructor2::refObject(ScriptWrappableBase* internalPointer )
233 { 233 {
234 internalPointer->toImpl<TestInterfaceConstructor2>()->ref(); 234 internalPointer->toImpl<TestInterfaceConstructor2>()->ref();
235 } 235 }
236 236
237 void V8TestInterfaceConstructor2::derefObject(ScriptWrappableBase* internalPoint er) 237 void V8TestInterfaceConstructor2::derefObject(ScriptWrappableBase* internalPoint er)
238 { 238 {
239 internalPointer->toImpl<TestInterfaceConstructor2>()->deref(); 239 internalPointer->toImpl<TestInterfaceConstructor2>()->deref();
240 } 240 }
241 241
242 WrapperPersistentNode* V8TestInterfaceConstructor2::createPersistentHandle(Scrip tWrappableBase* internalPointer) 242 WrapperPersistentNode* V8TestInterfaceConstructor2::createPersistentHandle(Scrip tWrappableBase* internalPointer)
243 { 243 {
244 ASSERT_NOT_REACHED(); 244 ASSERT_NOT_REACHED();
245 return 0; 245 return 0;
246 } 246 }
247 247
248 template<> 248 template<>
249 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate) 249 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate)
250 { 250 {
251 return toV8(impl, creationContext, isolate); 251 return toV8(impl, creationContext, isolate);
252 } 252 }
253 253
254 } // namespace blink 254 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698