| 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 "V8TestInterface.h" | 9 #include "V8TestInterface.h" |
| 10 | 10 |
| (...skipping 2536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2547 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTe
mplate, functionTemplate, defaultSignature, v8::None, shortMethodWithShortArgume
ntImplementedInPrivateScriptMethodConfiguration); | 2547 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTe
mplate, functionTemplate, defaultSignature, v8::None, shortMethodWithShortArgume
ntImplementedInPrivateScriptMethodConfiguration); |
| 2548 } | 2548 } |
| 2549 #endif // ENABLE(PARTIAL_CONDITION) | 2549 #endif // ENABLE(PARTIAL_CONDITION) |
| 2550 const V8DOMConfiguration::MethodConfiguration staticVoidMethodPartialOverloa
dMethodConfiguration = {"staticVoidMethodPartialOverload", TestInterfaceImplemen
tationV8Internal::staticVoidMethodPartialOverloadMethodCallback, 0, 0, V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 2550 const V8DOMConfiguration::MethodConfiguration staticVoidMethodPartialOverloa
dMethodConfiguration = {"staticVoidMethodPartialOverload", TestInterfaceImplemen
tationV8Internal::staticVoidMethodPartialOverloadMethodCallback, 0, 0, V8DOMConf
iguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; |
| 2551 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, v8::None, staticVoidMethodPartialOverloa
dMethodConfiguration); | 2551 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, v8::None, staticVoidMethodPartialOverloa
dMethodConfiguration); |
| 2552 const V8DOMConfiguration::MethodConfiguration staticPromiseMethodPartialOver
loadMethodConfiguration = {"staticPromiseMethodPartialOverload", TestInterfaceIm
plementationV8Internal::staticPromiseMethodPartialOverloadMethodCallback, 0, 0,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 2552 const V8DOMConfiguration::MethodConfiguration staticPromiseMethodPartialOver
loadMethodConfiguration = {"staticPromiseMethodPartialOverload", TestInterfaceIm
plementationV8Internal::staticPromiseMethodPartialOverloadMethodCallback, 0, 0,
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; |
| 2553 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, v8::None, staticPromiseMethodPartialOver
loadMethodConfiguration); | 2553 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, v8::None, staticPromiseMethodPartialOver
loadMethodConfiguration); |
| 2554 const V8DOMConfiguration::MethodConfiguration partial2StaticVoidMethodMethod
Configuration = {"partial2StaticVoidMethod", TestInterfaceImplementationV8Intern
al::partial2StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnInterface}; | 2554 const V8DOMConfiguration::MethodConfiguration partial2StaticVoidMethodMethod
Configuration = {"partial2StaticVoidMethod", TestInterfaceImplementationV8Intern
al::partial2StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnInterface}; |
| 2555 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, v8::None, partial2StaticVoidMethodMethod
Configuration); | 2555 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, v8::None, partial2StaticVoidMethodMethod
Configuration); |
| 2556 const V8DOMConfiguration::MethodConfiguration toJSONMethodConfiguration = {"
toJSON", TestInterfaceImplementationV8Internal::toJSONMethodCallback, 0, 0, V8DO
MConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; | 2556 const V8DOMConfiguration::MethodConfiguration toJSONMethodConfiguration = {"
toJSON", TestInterfaceImplementationV8Internal::toJSONMethodCallback, 0, 0, V8DO
MConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; |
| 2557 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::D
ontDelete | v8::DontEnum), toJSONMethodConfiguration); | 2557 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::D
ontEnum), toJSONMethodConfiguration); |
| 2558 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{"toString", TestInterfaceImplementationV8Internal::toStringMethodCallback, 0, 0
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; | 2558 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{"toString", TestInterfaceImplementationV8Internal::toStringMethodCallback, 0, 0
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}; |
| 2559 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::D
ontDelete | v8::DontEnum), toStringMethodConfiguration); | 2559 V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTempla
te, functionTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::D
ontEnum), toStringMethodConfiguration); |
| 2560 | 2560 |
| 2561 // Custom toString template | 2561 // Custom toString template |
| 2562 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 2562 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 2563 } | 2563 } |
| 2564 | 2564 |
| 2565 v8::Local<v8::FunctionTemplate> V8TestInterface::domTemplate(v8::Isolate* isolat
e) | 2565 v8::Local<v8::FunctionTemplate> V8TestInterface::domTemplate(v8::Isolate* isolat
e) |
| 2566 { | 2566 { |
| 2567 ASSERT(V8TestInterface::installV8TestInterfaceTemplateFunction != V8TestInte
rface::installV8TestInterfaceTemplate); | 2567 ASSERT(V8TestInterface::installV8TestInterfaceTemplateFunction != V8TestInte
rface::installV8TestInterfaceTemplate); |
| 2568 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), V8TestInterface::installV8TestInterfaceTemplateFunction
); | 2568 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), V8TestInterface::installV8TestInterfaceTemplateFunction
); |
| 2569 } | 2569 } |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2759 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2759 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
| 2760 { | 2760 { |
| 2761 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2761 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
| 2762 } | 2762 } |
| 2763 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2763 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
| 2764 { | 2764 { |
| 2765 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2765 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
| 2766 } | 2766 } |
| 2767 } // namespace blink | 2767 } // namespace blink |
| 2768 #endif // ENABLE(CONDITION) | 2768 #endif // ENABLE(CONDITION) |
| OLD | NEW |