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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfacePython2.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 "V8TestInterfacePython2.h" 8 #include "V8TestInterfacePython2.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 if (!result.IsEmpty()) 112 if (!result.IsEmpty())
113 return result; 113 return result;
114 114
115 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate"); 115 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
116 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode); 116 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode);
117 configureV8TestInterfacePython2Template(result, isolate); 117 configureV8TestInterfacePython2Template(result, isolate);
118 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ; 118 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ;
119 return result; 119 return result;
120 } 120 }
121 121
122 bool V8TestInterfacePython2::hasInstance(v8::Handle<v8::Value> jsValue, v8::Isol ate* isolate) 122 bool V8TestInterfacePython2::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isol ate* isolate)
123 { 123 {
124 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValu e); 124 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
125 } 125 }
126 126
127 v8::Handle<v8::Object> V8TestInterfacePython2::findInstanceInPrototypeChain(v8:: Handle<v8::Value> jsValue, v8::Isolate* isolate) 127 v8::Handle<v8::Object> V8TestInterfacePython2::findInstanceInPrototypeChain(v8:: Handle<v8::Value> v8Value, v8::Isolate* isolate)
128 { 128 {
129 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, jsValue); 129 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
130 } 130 }
131 131
132 TestInterfacePython2* V8TestInterfacePython2::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) 132 TestInterfacePython2* V8TestInterfacePython2::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
133 { 133 {
134 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; 134 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
135 } 135 }
136 136
137 v8::Handle<v8::Object> wrap(TestInterfacePython2* impl, v8::Handle<v8::Object> c reationContext, v8::Isolate* isolate) 137 v8::Handle<v8::Object> wrap(TestInterfacePython2* impl, v8::Handle<v8::Object> c reationContext, v8::Isolate* isolate)
138 { 138 {
139 ASSERT(impl); 139 ASSERT(impl);
(...skipping 30 matching lines...) Expand all
170 fromInternalPointer(object)->deref(); 170 fromInternalPointer(object)->deref();
171 } 171 }
172 172
173 template<> 173 template<>
174 v8::Handle<v8::Value> toV8NoInline(TestInterfacePython2* impl, v8::Handle<v8::Ob ject> creationContext, v8::Isolate* isolate) 174 v8::Handle<v8::Value> toV8NoInline(TestInterfacePython2* impl, v8::Handle<v8::Ob ject> creationContext, v8::Isolate* isolate)
175 { 175 {
176 return toV8(impl, creationContext, isolate); 176 return toV8(impl, creationContext, isolate);
177 } 177 }
178 178
179 } // namespace WebCore 179 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfacePython.cpp ('k') | Source/bindings/tests/results/V8TestInterfacePython3.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698