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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceConstructor.cpp

Issue 214283002: Bindings: rename |jsValue| => |v8Value| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 6 years, 9 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 "V8TestInterfaceConstructor.h" 8 #include "V8TestInterfaceConstructor.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 if (!result.IsEmpty()) 152 if (!result.IsEmpty())
153 return result; 153 return result;
154 154
155 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate"); 155 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
156 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode); 156 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode);
157 configureV8TestInterfaceConstructorTemplate(result, isolate); 157 configureV8TestInterfaceConstructorTemplate(result, isolate);
158 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ; 158 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ;
159 return result; 159 return result;
160 } 160 }
161 161
162 bool V8TestInterfaceConstructor::hasInstance(v8::Handle<v8::Value> jsValue, v8:: Isolate* isolate) 162 bool V8TestInterfaceConstructor::hasInstance(v8::Handle<v8::Value> v8Value, v8:: Isolate* isolate)
163 { 163 {
164 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValu e); 164 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
165 } 165 }
166 166
167 v8::Handle<v8::Object> V8TestInterfaceConstructor::findInstanceInPrototypeChain( v8::Handle<v8::Value> jsValue, v8::Isolate* isolate) 167 v8::Handle<v8::Object> V8TestInterfaceConstructor::findInstanceInPrototypeChain( v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
168 { 168 {
169 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, jsValue); 169 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
170 } 170 }
171 171
172 TestInterfaceConstructor* V8TestInterfaceConstructor::toNativeWithTypeCheck(v8:: Isolate* isolate, v8::Handle<v8::Value> value) 172 TestInterfaceConstructor* V8TestInterfaceConstructor::toNativeWithTypeCheck(v8:: Isolate* isolate, v8::Handle<v8::Value> value)
173 { 173 {
174 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; 174 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
175 } 175 }
176 176
177 v8::Handle<v8::Object> V8TestInterfaceConstructor::createWrapper(PassRefPtr<Test InterfaceConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 177 v8::Handle<v8::Object> V8TestInterfaceConstructor::createWrapper(PassRefPtr<Test InterfaceConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
178 { 178 {
179 ASSERT(impl); 179 ASSERT(impl);
(...skipping 19 matching lines...) Expand all
199 fromInternalPointer(object)->deref(); 199 fromInternalPointer(object)->deref();
200 } 200 }
201 201
202 template<> 202 template<>
203 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8 ::Object> creationContext, v8::Isolate* isolate) 203 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8 ::Object> creationContext, v8::Isolate* isolate)
204 { 204 {
205 return toV8(impl, creationContext, isolate); 205 return toV8(impl, creationContext, isolate);
206 } 206 }
207 207
208 } // namespace WebCore 208 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698