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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp

Issue 2429343004: [CachedAccessor] for window.document. (Closed)
Patch Set: Fix expectation for global-interface-listing-expected, windows. Created 4 years, 1 month 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 "V8TestInterfacePartial.h" 9 #include "V8TestInterfacePartial.h"
10 10
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 }; 390 };
391 V8DOMConfiguration::installConstants(isolate, interfaceTemplate, prototype Template, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); 391 V8DOMConfiguration::installConstants(isolate, interfaceTemplate, prototype Template, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants));
392 V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, proto typeTemplate, interfaceTemplate, signature, V8TestInterfaceMethods, WTF_ARRAY_LE NGTH(V8TestInterfaceMethods)); 392 V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, proto typeTemplate, interfaceTemplate, signature, V8TestInterfaceMethods, WTF_ARRAY_LE NGTH(V8TestInterfaceMethods));
393 } 393 }
394 } 394 }
395 395
396 void V8TestInterfacePartial::installOriginTrialPartialFeature(v8::Isolate* isola te, const DOMWrapperWorld& world, v8::Local<v8::Object> instance, v8::Local<v8:: Object> prototype, v8::Local<v8::Function> interface) { 396 void V8TestInterfacePartial::installOriginTrialPartialFeature(v8::Isolate* isola te, const DOMWrapperWorld& world, v8::Local<v8::Object> instance, v8::Local<v8:: Object> prototype, v8::Local<v8::Function> interface) {
397 v8::Local<v8::FunctionTemplate> interfaceTemplate = V8TestInterface::wrapperTy peInfo.domTemplate(isolate, world); 397 v8::Local<v8::FunctionTemplate> interfaceTemplate = V8TestInterface::wrapperTy peInfo.domTemplate(isolate, world);
398 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late); 398 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late);
399 ALLOW_UNUSED_LOCAL(signature); 399 ALLOW_UNUSED_LOCAL(signature);
400 const V8DOMConfiguration::AccessorConfiguration accessorpartial4LongAttributeC onfiguration = {"partial4LongAttribute", TestInterfaceImplementationPartialV8Int ernal::partial4LongAttributeAttributeGetterCallback, TestInterfaceImplementation PartialV8Internal::partial4LongAttributeAttributeSetterCallback, 0, 0, 0, v8::DE FAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed ToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; 400 const V8DOMConfiguration::AccessorConfiguration accessorpartial4LongAttributeC onfiguration = {"partial4LongAttribute", TestInterfaceImplementationPartialV8Int ernal::partial4LongAttributeAttributeGetterCallback, TestInterfaceImplementation PartialV8Internal::partial4LongAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration ::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Chec kHolder};
401 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, inter face, signature, accessorpartial4LongAttributeConfiguration); 401 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, inter face, signature, accessorpartial4LongAttributeConfiguration);
402 const V8DOMConfiguration::AccessorConfiguration accessorpartial4StaticLongAttr ibuteConfiguration = {"partial4StaticLongAttribute", TestInterfaceImplementation PartialV8Internal::partial4StaticLongAttributeAttributeGetterCallback, TestInter faceImplementationPartialV8Internal::partial4StaticLongAttributeAttributeSetterC allback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConf iguration::CheckHolder}; 402 const V8DOMConfiguration::AccessorConfiguration accessorpartial4StaticLongAttr ibuteConfiguration = {"partial4StaticLongAttribute", TestInterfaceImplementation PartialV8Internal::partial4StaticLongAttributeAttributeGetterCallback, TestInter faceImplementationPartialV8Internal::partial4StaticLongAttributeAttributeSetterC allback, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::N one), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder};
403 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, inter face, signature, accessorpartial4StaticLongAttributeConfiguration); 403 V8DOMConfiguration::installAccessor(isolate, world, instance, prototype, inter face, signature, accessorpartial4StaticLongAttributeConfiguration);
404 const V8DOMConfiguration::ConstantConfiguration constantPartial4UnsignedShortC onfiguration = {"PARTIAL4_UNSIGNED_SHORT", 4, 0, V8DOMConfiguration::ConstantTyp eUnsignedShort}; 404 const V8DOMConfiguration::ConstantConfiguration constantPartial4UnsignedShortC onfiguration = {"PARTIAL4_UNSIGNED_SHORT", 4, 0, V8DOMConfiguration::ConstantTyp eUnsignedShort};
405 V8DOMConfiguration::installConstant(isolate, interface, prototype, constantPar tial4UnsignedShortConfiguration); 405 V8DOMConfiguration::installConstant(isolate, interface, prototype, constantPar tial4UnsignedShortConfiguration);
406 const V8DOMConfiguration::MethodConfiguration methodPartial4StaticvoidmethodCo nfiguration = {"partial4StaticVoidMethod", TestInterfaceImplementationPartialV8I nternal::partial4StaticVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfigurat ion::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; 406 const V8DOMConfiguration::MethodConfiguration methodPartial4StaticvoidmethodCo nfiguration = {"partial4StaticVoidMethod", TestInterfaceImplementationPartialV8I nternal::partial4StaticVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfigurat ion::ExposedToAllScripts, V8DOMConfiguration::OnInterface};
407 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, interfa ce, signature, methodPartial4StaticvoidmethodConfiguration); 407 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, interfa ce, signature, methodPartial4StaticvoidmethodConfiguration);
408 const V8DOMConfiguration::MethodConfiguration methodPartial4VoidmethodConfigur ation = {"partial4VoidMethod", TestInterfaceImplementationPartialV8Internal::par tial4VoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllS cripts, V8DOMConfiguration::OnPrototype}; 408 const V8DOMConfiguration::MethodConfiguration methodPartial4VoidmethodConfigur ation = {"partial4VoidMethod", TestInterfaceImplementationPartialV8Internal::par tial4VoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllS cripts, V8DOMConfiguration::OnPrototype};
409 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, interfa ce, signature, methodPartial4VoidmethodConfiguration); 409 V8DOMConfiguration::installMethod(isolate, world, instance, prototype, interfa ce, signature, methodPartial4VoidmethodConfiguration);
410 } 410 }
411 411
412 void V8TestInterfacePartial::installOriginTrialPartialFeature(ScriptState* scrip tState, v8::Local<v8::Object> instance) { 412 void V8TestInterfacePartial::installOriginTrialPartialFeature(ScriptState* scrip tState, v8::Local<v8::Object> instance) {
(...skipping 28 matching lines...) Expand all
441 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); 441 V8TestInterfacePartial::preparePrototypeAndInterfaceObject);
442 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(&T estInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); 442 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(&T estInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod);
443 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInterf ace(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOverlo adMethod); 443 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInterf ace(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOverlo adMethod);
444 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterface (&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMeth od); 444 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterface (&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMeth od);
445 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialInt erface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodPartial OverloadMethod); 445 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialInt erface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodPartial OverloadMethod);
446 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestInte rfaceImplementationPartialV8Internal::partial2VoidMethodMethod); 446 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestInte rfaceImplementationPartialV8Internal::partial2VoidMethodMethod);
447 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&Te stInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); 447 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&Te stInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod);
448 } 448 }
449 449
450 } // namespace blink 450 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698