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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceCustomConstructor.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 "V8TestInterfaceCustomConstructor.h" 8 #include "V8TestInterfaceCustomConstructor.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 if (!result.IsEmpty()) 87 if (!result.IsEmpty())
88 return result; 88 return result;
89 89
90 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate"); 90 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
91 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode); 91 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode);
92 configureV8TestInterfaceCustomConstructorTemplate(result, isolate); 92 configureV8TestInterfaceCustomConstructorTemplate(result, isolate);
93 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ; 93 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ;
94 return result; 94 return result;
95 } 95 }
96 96
97 bool V8TestInterfaceCustomConstructor::hasInstance(v8::Handle<v8::Value> jsValue , v8::Isolate* isolate) 97 bool V8TestInterfaceCustomConstructor::hasInstance(v8::Handle<v8::Value> v8Value , v8::Isolate* isolate)
98 { 98 {
99 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValu e); 99 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
100 } 100 }
101 101
102 v8::Handle<v8::Object> V8TestInterfaceCustomConstructor::findInstanceInPrototype Chain(v8::Handle<v8::Value> jsValue, v8::Isolate* isolate) 102 v8::Handle<v8::Object> V8TestInterfaceCustomConstructor::findInstanceInPrototype Chain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
103 { 103 {
104 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, jsValue); 104 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
105 } 105 }
106 106
107 TestInterfaceCustomConstructor* V8TestInterfaceCustomConstructor::toNativeWithTy peCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) 107 TestInterfaceCustomConstructor* V8TestInterfaceCustomConstructor::toNativeWithTy peCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
108 { 108 {
109 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; 109 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
110 } 110 }
111 111
112 v8::Handle<v8::Object> V8TestInterfaceCustomConstructor::createWrapper(PassRefPt r<TestInterfaceCustomConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 112 v8::Handle<v8::Object> V8TestInterfaceCustomConstructor::createWrapper(PassRefPt r<TestInterfaceCustomConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
113 { 113 {
114 ASSERT(impl); 114 ASSERT(impl);
(...skipping 19 matching lines...) Expand all
134 fromInternalPointer(object)->deref(); 134 fromInternalPointer(object)->deref();
135 } 135 }
136 136
137 template<> 137 template<>
138 v8::Handle<v8::Value> toV8NoInline(TestInterfaceCustomConstructor* impl, v8::Han dle<v8::Object> creationContext, v8::Isolate* isolate) 138 v8::Handle<v8::Value> toV8NoInline(TestInterfaceCustomConstructor* impl, v8::Han dle<v8::Object> creationContext, v8::Isolate* isolate)
139 { 139 {
140 return toV8(impl, creationContext, isolate); 140 return toV8(impl, creationContext, isolate);
141 } 141 }
142 142
143 } // namespace WebCore 143 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698