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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.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 "V8TestIntegerIndexedPrimaryGlobal.h" 9 #include "V8TestIntegerIndexedPrimaryGlobal.h"
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 V8TestIntegerIndexedPrimaryGlobal::indexedPropertySetterCustom(index, v8Value, info); 150 V8TestIntegerIndexedPrimaryGlobal::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 V8TestIntegerIndexedPrimaryGlobal::indexedPropertyDeleterCustom(index, info); 154 V8TestIntegerIndexedPrimaryGlobal::indexedPropertyDeleterCustom(index, info);
155 } 155 }
156 156
157 } // namespace TestIntegerIndexedPrimaryGlobalV8Internal 157 } // namespace TestIntegerIndexedPrimaryGlobalV8Internal
158 158
159 const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedPrimaryGloba lAccessors[] = { 159 const V8DOMConfiguration::AccessorConfiguration V8TestIntegerIndexedPrimaryGloba lAccessors[] = {
160 {"length", TestIntegerIndexedPrimaryGlobalV8Internal::lengthAttributeGetterC allback, TestIntegerIndexedPrimaryGlobalV8Internal::lengthAttributeSetterCallbac k, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMCo nfiguration::CheckHolder}, 160 {"length", TestIntegerIndexedPrimaryGlobalV8Internal::lengthAttributeGetterC allback, TestIntegerIndexedPrimaryGlobalV8Internal::lengthAttributeSetterCallbac k, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder},
161 }; 161 };
162 162
163 const V8DOMConfiguration::MethodConfiguration V8TestIntegerIndexedPrimaryGlobalM ethods[] = { 163 const V8DOMConfiguration::MethodConfiguration V8TestIntegerIndexedPrimaryGlobalM ethods[] = {
164 {"voidMethodDocument", TestIntegerIndexedPrimaryGlobalV8Internal::voidMethod DocumentMethodCallback, 0, 1, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder}, 164 {"voidMethodDocument", TestIntegerIndexedPrimaryGlobalV8Internal::voidMethod DocumentMethodCallback, 0, 1, v8::None, V8DOMConfiguration::OnInstance, V8DOMCon figuration::CheckHolder},
165 }; 165 };
166 166
167 static void installV8TestIntegerIndexedPrimaryGlobalTemplate(v8::Isolate* isolat e, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTempla te) { 167 static void installV8TestIntegerIndexedPrimaryGlobalTemplate(v8::Isolate* isolat e, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTempla te) {
168 // Initialize the interface object's template. 168 // Initialize the interface object's template.
169 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestIntegerIndexedPrimaryGlobal::wrapperTypeInfo.interfaceName, V8TestInteger IndexedPrimaryGlobal::domTemplateForNamedPropertiesObject(isolate, world), V8Tes tIntegerIndexedPrimaryGlobal::internalFieldCount); 169 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestIntegerIndexedPrimaryGlobal::wrapperTypeInfo.interfaceName, V8TestInteger IndexedPrimaryGlobal::domTemplateForNamedPropertiesObject(isolate, world), V8Tes tIntegerIndexedPrimaryGlobal::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> V8TestIntegerIndexedPrimaryGlobal::findInstanceInPrototype Chain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { 221 v8::Local<v8::Object> V8TestIntegerIndexedPrimaryGlobal::findInstanceInPrototype Chain(v8::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 TestIntegerIndexedPrimaryGlobal* V8TestIntegerIndexedPrimaryGlobal::toImplWithTy peCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { 225 TestIntegerIndexedPrimaryGlobal* V8TestIntegerIndexedPrimaryGlobal::toImplWithTy peCheck(v8::Isolate* 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