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

Side by Side Diff: Source/bindings/tests/results/V8TestException.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 "V8TestException.h" 8 #include "V8TestException.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 if (!result.IsEmpty()) 119 if (!result.IsEmpty())
120 return result; 120 return result;
121 121
122 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate"); 122 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
123 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode); 123 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode);
124 configureV8TestExceptionTemplate(result, isolate); 124 configureV8TestExceptionTemplate(result, isolate);
125 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ; 125 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ;
126 return result; 126 return result;
127 } 127 }
128 128
129 bool V8TestException::hasInstance(v8::Handle<v8::Value> jsValue, v8::Isolate* is olate) 129 bool V8TestException::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* is olate)
130 { 130 {
131 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValu e); 131 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
132 } 132 }
133 133
134 v8::Handle<v8::Object> V8TestException::findInstanceInPrototypeChain(v8::Handle< v8::Value> jsValue, v8::Isolate* isolate) 134 v8::Handle<v8::Object> V8TestException::findInstanceInPrototypeChain(v8::Handle< v8::Value> v8Value, v8::Isolate* isolate)
135 { 135 {
136 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, jsValue); 136 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
137 } 137 }
138 138
139 TestException* V8TestException::toNativeWithTypeCheck(v8::Isolate* isolate, v8:: Handle<v8::Value> value) 139 TestException* V8TestException::toNativeWithTypeCheck(v8::Isolate* isolate, v8:: Handle<v8::Value> value)
140 { 140 {
141 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; 141 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
142 } 142 }
143 143
144 v8::Handle<v8::Object> V8TestException::createWrapper(PassRefPtr<TestException> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 144 v8::Handle<v8::Object> V8TestException::createWrapper(PassRefPtr<TestException> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
145 { 145 {
146 ASSERT(impl); 146 ASSERT(impl);
(...skipping 19 matching lines...) Expand all
166 fromInternalPointer(object)->deref(); 166 fromInternalPointer(object)->deref();
167 } 167 }
168 168
169 template<> 169 template<>
170 v8::Handle<v8::Value> toV8NoInline(TestException* impl, v8::Handle<v8::Object> c reationContext, v8::Isolate* isolate) 170 v8::Handle<v8::Value> toV8NoInline(TestException* impl, v8::Handle<v8::Object> c reationContext, v8::Isolate* isolate)
171 { 171 {
172 return toV8(impl, creationContext, isolate); 172 return toV8(impl, creationContext, isolate);
173 } 173 }
174 174
175 } // namespace WebCore 175 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestEventTarget.cpp ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698