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 "V8TestInterface5.h" | 9 #include "V8TestInterface5.h" |
10 | 10 |
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 static const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] =
{ | 804 static const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] =
{ |
805 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal::
voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8DOMConfiguration::Exposed
ToAllScripts}, | 805 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal::
voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8DOMConfiguration::Exposed
ToAllScripts}, |
806 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void
MethodDoubleArgFloatArgMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScr
ipts}, | 806 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void
MethodDoubleArgFloatArgMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScr
ipts}, |
807 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem
entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal
lback, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, | 807 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem
entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal
lback, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, |
808 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb
ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl
d, 0, V8DOMConfiguration::ExposedToAllScripts}, | 808 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb
ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl
d, 0, V8DOMConfiguration::ExposedToAllScripts}, |
809 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose
dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 809 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose
dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
810 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal::
voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, V8DOMConfiguration::Exposed
ToAllScripts}, | 810 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal::
voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, V8DOMConfiguration::Exposed
ToAllScripts}, |
811 {"voidMethodDoubleOrDOMStringArg", TestInterface5ImplementationV8Internal::v
oidMethodDoubleOrDOMStringArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedTo
AllScripts}, | 811 {"voidMethodDoubleOrDOMStringArg", TestInterface5ImplementationV8Internal::v
oidMethodDoubleOrDOMStringArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedTo
AllScripts}, |
812 }; | 812 }; |
813 | 813 |
814 static void installV8TestInterface5Template(v8::Handle<v8::FunctionTemplate> fun
ctionTemplate, v8::Isolate* isolate) | 814 static void installV8TestInterface5Template(v8::Local<v8::FunctionTemplate> func
tionTemplate, v8::Isolate* isolate) |
815 { | 815 { |
816 functionTemplate->ReadOnlyPrototype(); | 816 functionTemplate->ReadOnlyPrototype(); |
817 | 817 |
818 v8::Local<v8::Signature> defaultSignature; | 818 v8::Local<v8::Signature> defaultSignature; |
819 if (!RuntimeEnabledFeatures::featureNameEnabled()) | 819 if (!RuntimeEnabledFeatures::featureNameEnabled()) |
820 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "", V8TestInterfaceEmpty::domTemplate(isolate), V8TestInterfac
e5::internalFieldCount, 0, 0, 0, 0, 0, 0); | 820 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "", V8TestInterfaceEmpty::domTemplate(isolate), V8TestInterfac
e5::internalFieldCount, 0, 0, 0, 0, 0, 0); |
821 else | 821 else |
822 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface5", V8TestInterfaceEmpty::domTemplate(isolate),
V8TestInterface5::internalFieldCount, | 822 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface5", V8TestInterfaceEmpty::domTemplate(isolate),
V8TestInterface5::internalFieldCount, |
823 V8TestInterface5Attributes, WTF_ARRAY_LENGTH(V8TestInterface5Attribu
tes), | 823 V8TestInterface5Attributes, WTF_ARRAY_LENGTH(V8TestInterface5Attribu
tes), |
824 0, 0, | 824 0, 0, |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 scriptWrappable->toImpl<TestInterface5Implementation>()->ref(); | 927 scriptWrappable->toImpl<TestInterface5Implementation>()->ref(); |
928 } | 928 } |
929 | 929 |
930 void V8TestInterface5::derefObject(ScriptWrappable* scriptWrappable) | 930 void V8TestInterface5::derefObject(ScriptWrappable* scriptWrappable) |
931 { | 931 { |
932 scriptWrappable->toImpl<TestInterface5Implementation>()->deref(); | 932 scriptWrappable->toImpl<TestInterface5Implementation>()->deref(); |
933 } | 933 } |
934 | 934 |
935 } // namespace blink | 935 } // namespace blink |
936 #endif // ENABLE(CONDITION) | 936 #endif // ENABLE(CONDITION) |
OLD | NEW |