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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceConstructor2.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 "V8TestInterfaceConstructor2.h" 8 #include "V8TestInterfaceConstructor2.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 if (!result.IsEmpty()) 141 if (!result.IsEmpty())
142 return result; 142 return result;
143 143
144 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate"); 144 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
145 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode); 145 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode);
146 configureV8TestInterfaceConstructor2Template(result, isolate); 146 configureV8TestInterfaceConstructor2Template(result, isolate);
147 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ; 147 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ;
148 return result; 148 return result;
149 } 149 }
150 150
151 bool V8TestInterfaceConstructor2::hasInstance(v8::Handle<v8::Value> jsValue, v8: :Isolate* isolate) 151 bool V8TestInterfaceConstructor2::hasInstance(v8::Handle<v8::Value> v8Value, v8: :Isolate* isolate)
152 { 152 {
153 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValu e); 153 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
154 } 154 }
155 155
156 v8::Handle<v8::Object> V8TestInterfaceConstructor2::findInstanceInPrototypeChain (v8::Handle<v8::Value> jsValue, v8::Isolate* isolate) 156 v8::Handle<v8::Object> V8TestInterfaceConstructor2::findInstanceInPrototypeChain (v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
157 { 157 {
158 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, jsValue); 158 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
159 } 159 }
160 160
161 TestInterfaceConstructor2* V8TestInterfaceConstructor2::toNativeWithTypeCheck(v8 ::Isolate* isolate, v8::Handle<v8::Value> value) 161 TestInterfaceConstructor2* V8TestInterfaceConstructor2::toNativeWithTypeCheck(v8 ::Isolate* isolate, v8::Handle<v8::Value> value)
162 { 162 {
163 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; 163 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
164 } 164 }
165 165
166 v8::Handle<v8::Object> V8TestInterfaceConstructor2::createWrapper(PassRefPtr<Tes tInterfaceConstructor2> impl, v8::Handle<v8::Object> creationContext, v8::Isolat e* isolate) 166 v8::Handle<v8::Object> V8TestInterfaceConstructor2::createWrapper(PassRefPtr<Tes tInterfaceConstructor2> impl, v8::Handle<v8::Object> creationContext, v8::Isolat e* isolate)
167 { 167 {
168 ASSERT(impl); 168 ASSERT(impl);
(...skipping 19 matching lines...) Expand all
188 fromInternalPointer(object)->deref(); 188 fromInternalPointer(object)->deref();
189 } 189 }
190 190
191 template<> 191 template<>
192 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate) 192 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate)
193 { 193 {
194 return toV8(impl, creationContext, isolate); 194 return toV8(impl, creationContext, isolate);
195 } 195 }
196 196
197 } // namespace WebCore 197 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698