| OLD | NEW |
| 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 #if ENABLE(CONDITION) | 8 #if ENABLE(CONDITION) |
| 9 #include "V8TestInterfacePartial.h" | 9 #include "V8TestInterfacePartial.h" |
| 10 | 10 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 static void unscopeableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v
8::Value>& info) | 290 static void unscopeableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v
8::Value>& info) |
| 291 { | 291 { |
| 292 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 292 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 293 TestInterfaceImplementationPartialV8Internal::unscopeableVoidMethodMethod(in
fo); | 293 TestInterfaceImplementationPartialV8Internal::unscopeableVoidMethodMethod(in
fo); |
| 294 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 294 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 295 } | 295 } |
| 296 | 296 |
| 297 } // namespace TestInterfaceImplementationPartialV8Internal | 297 } // namespace TestInterfaceImplementationPartialV8Internal |
| 298 | 298 |
| 299 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = { | 299 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = { |
| 300 {"partialVoidTestEnumModulesArgMethod", TestInterfaceImplementationPartialV8
Internal::partialVoidTestEnumModulesArgMethodMethodCallback, 0, 1, V8DOMConfigur
ation::ExposedToAllScripts}, | 300 {"partialVoidTestEnumModulesArgMethod", TestInterfaceImplementationPartialV8
Internal::partialVoidTestEnumModulesArgMethodMethodCallback, 0, 1, V8DOMConfigur
ation::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 301 {"unscopeableVoidMethod", TestInterfaceImplementationPartialV8Internal::unsc
opeableVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 301 {"unscopeableVoidMethod", TestInterfaceImplementationPartialV8Internal::unsc
opeableVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype}, |
| 302 }; | 302 }; |
| 303 | 303 |
| 304 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Local<v8::Functi
onTemplate> functionTemplate, v8::Isolate* isolate) | 304 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Local<v8::Functi
onTemplate> functionTemplate, v8::Isolate* isolate) |
| 305 { | 305 { |
| 306 V8TestInterface::installV8TestInterfaceTemplate(functionTemplate, isolate); | 306 V8TestInterface::installV8TestInterfaceTemplate(functionTemplate, isolate); |
| 307 | 307 |
| 308 v8::Local<v8::Signature> defaultSignature; | 308 v8::Local<v8::Signature> defaultSignature; |
| 309 if (!RuntimeEnabledFeatures::featureNameEnabled()) | 309 if (!RuntimeEnabledFeatures::featureNameEnabled()) |
| 310 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", v8::Local<v8::FunctionTemplate>(), V8TestInte
rface::internalFieldCount, 0, 0, 0, 0, 0, 0); | 310 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", v8::Local<v8::FunctionTemplate>(), V8TestInte
rface::internalFieldCount, 0, 0, 0, 0, 0, 0); |
| 311 else | 311 else |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 347 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
| 348 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 348 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
| 349 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 349 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
| 350 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 350 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
| 351 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 351 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
| 352 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 352 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
| 353 } | 353 } |
| 354 | 354 |
| 355 } // namespace blink | 355 } // namespace blink |
| 356 #endif // ENABLE(CONDITION) | 356 #endif // ENABLE(CONDITION) |
| OLD | NEW |