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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years 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
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. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // clang-format off 8 // clang-format off
9 #include "V8TestIntegerIndexedGlobal.h" 9 #include "V8TestIntegerIndexedGlobal.h"
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 V8TestIntegerIndexedGlobal::indexedPropertySetterCustom(index, v8Value, info); 150 V8TestIntegerIndexedGlobal::indexedPropertySetterCustom(index, v8Value, info);
151 } 151 }
152 152
153 void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackIn fo<v8::Boolean>& info) { 153 void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackIn fo<v8::Boolean>& info) {
154 V8TestIntegerIndexedGlobal::indexedPropertyDeleterCustom(index, info); 154 V8TestIntegerIndexedGlobal::indexedPropertyDeleterCustom(index, info);
155 } 155 }
156 156
157 } // namespace TestIntegerIndexedGlobalV8Internal 157 } // namespace TestIntegerIndexedGlobalV8Internal
158 158
159 const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedGlobalAccess ors[] = { 159 const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedGlobalAccess ors[] = {
160 {"length", TestIntegerIndexedGlobalV8Internal::lengthAttributeGetterCallback , TestIntegerIndexedGlobalV8Internal::lengthAttributeSetterCallback, 0, 0, nullp tr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMConfiguration::C heckHolder}, 160 {"length", TestIntegerIndexedGlobalV8Internal::lengthAttributeGetterCallback , TestIntegerIndexedGlobalV8Internal::lengthAttributeSetterCallback, 0, 0, nullp tr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura tion::OnInstance, V8DOMConfiguration::CheckHolder},
161 }; 161 };
162 162
163 const V8DOMConfiguration::MethodConfiguration V8TestIntegerIndexedGlobalMethods[ ] = { 163 const V8DOMConfiguration::MethodConfiguration V8TestIntegerIndexedGlobalMethods[ ] = {
164 {"voidMethodDocument", TestIntegerIndexedGlobalV8Internal::voidMethodDocumen tMethodCallback, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMC onfiguration::OnInstance, V8DOMConfiguration::CheckHolder}, 164 {"voidMethodDocument", TestIntegerIndexedGlobalV8Internal::voidMethodDocumen tMethodCallback, 0, 1, v8::None, V8DOMConfiguration::OnInstance, V8DOMConfigurat ion::CheckHolder},
165 }; 165 };
166 166
167 static void installV8TestIntegerIndexedGlobalTemplate(v8::Isolate* isolate, cons t DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { 167 static void installV8TestIntegerIndexedGlobalTemplate(v8::Isolate* isolate, cons t DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
168 // Initialize the interface object's template. 168 // Initialize the interface object's template.
169 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestIntegerIndexedGlobal::wrapperTypeInfo.interfaceName, V8TestIntegerIndexed Global::domTemplateForNamedPropertiesObject(isolate, world), V8TestIntegerIndexe dGlobal::internalFieldCount); 169 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestIntegerIndexedGlobal::wrapperTypeInfo.interfaceName, V8TestIntegerIndexed Global::domTemplateForNamedPropertiesObject(isolate, world), V8TestIntegerIndexe dGlobal::internalFieldCount);
170 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late); 170 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late);
171 ALLOW_UNUSED_LOCAL(signature); 171 ALLOW_UNUSED_LOCAL(signature);
172 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe mplate(); 172 v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTe mplate();
173 ALLOW_UNUSED_LOCAL(instanceTemplate); 173 ALLOW_UNUSED_LOCAL(instanceTemplate);
174 v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->Prototype Template(); 174 v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->Prototype Template();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 v8::Local<v8::Object> V8TestIntegerIndexedGlobal::findInstanceInPrototypeChain(v 8::Local<v8::Value> v8Value, v8::Isolate* isolate) { 221 v8::Local<v8::Object> V8TestIntegerIndexedGlobal::findInstanceInPrototypeChain(v 8::Local<v8::Value> v8Value, v8::Isolate* isolate) {
222 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value); 222 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperT ypeInfo, v8Value);
223 } 223 }
224 224
225 TestIntegerIndexedGlobal* V8TestIntegerIndexedGlobal::toImplWithTypeCheck(v8::Is olate* isolate, v8::Local<v8::Value> value) { 225 TestIntegerIndexedGlobal* V8TestIntegerIndexedGlobal::toImplWithTypeCheck(v8::Is olate* isolate, v8::Local<v8::Value> value) {
226 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr; 226 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr;
227 } 227 }
228 228
229 } // namespace blink 229 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698