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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterface3.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 "V8TestInterface3.h" 8 #include "V8TestInterface3.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e); 119 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
120 } 120 }
121 121
122 v8::Handle<v8::Object> V8TestInterface3::findInstanceInPrototypeChain(v8::Handle <v8::Value> v8Value, v8::Isolate* isolate) 122 v8::Handle<v8::Object> V8TestInterface3::findInstanceInPrototypeChain(v8::Handle <v8::Value> v8Value, v8::Isolate* isolate)
123 { 123 {
124 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value); 124 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
125 } 125 }
126 126
127 TestInterface3* V8TestInterface3::toImplWithTypeCheck(v8::Isolate* isolate, v8:: Handle<v8::Value> value) 127 TestInterface3* V8TestInterface3::toImplWithTypeCheck(v8::Isolate* isolate, v8:: Handle<v8::Value> value)
128 { 128 {
129 return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle <v8::Object>::Cast(value))->toImpl<TestInterface3>() : 0; 129 return hasInstance(value, isolate) ? toImpl(v8::Handle<v8::Object>::Cast(val ue)) : 0;
130 } 130 }
131 131
132 132
133 void V8TestInterface3::refObject(ScriptWrappableBase* internalPointer) 133 void V8TestInterface3::refObject(ScriptWrappableBase* internalPointer)
134 { 134 {
135 internalPointer->toImpl<TestInterface3>()->ref(); 135 internalPointer->toImpl<TestInterface3>()->ref();
136 } 136 }
137 137
138 void V8TestInterface3::derefObject(ScriptWrappableBase* internalPointer) 138 void V8TestInterface3::derefObject(ScriptWrappableBase* internalPointer)
139 { 139 {
140 internalPointer->toImpl<TestInterface3>()->deref(); 140 internalPointer->toImpl<TestInterface3>()->deref();
141 } 141 }
142 142
143 WrapperPersistentNode* V8TestInterface3::createPersistentHandle(ScriptWrappableB ase* internalPointer) 143 WrapperPersistentNode* V8TestInterface3::createPersistentHandle(ScriptWrappableB ase* internalPointer)
144 { 144 {
145 ASSERT_NOT_REACHED(); 145 ASSERT_NOT_REACHED();
146 return 0; 146 return 0;
147 } 147 }
148 148
149 template<> 149 template<>
150 v8::Handle<v8::Value> toV8NoInline(TestInterface3* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 150 v8::Handle<v8::Value> toV8NoInline(TestInterface3* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
151 { 151 {
152 return toV8(impl, creationContext, isolate); 152 return toV8(impl, creationContext, isolate);
153 } 153 }
154 154
155 } // namespace blink 155 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698