| 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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 {"entries", TestInterface5ImplementationV8Internal::entriesMethodCallback, 0
, 0, V8DOMConfiguration::ExposedToAllScripts}, | 932 {"entries", TestInterface5ImplementationV8Internal::entriesMethodCallback, 0
, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 933 {"forEach", TestInterface5ImplementationV8Internal::forEachMethodCallback, 0
, 1, V8DOMConfiguration::ExposedToAllScripts}, | 933 {"forEach", TestInterface5ImplementationV8Internal::forEachMethodCallback, 0
, 1, V8DOMConfiguration::ExposedToAllScripts}, |
| 934 }; | 934 }; |
| 935 | 935 |
| 936 static void installV8TestInterface5Template(v8::Local<v8::FunctionTemplate> func
tionTemplate, v8::Isolate* isolate) | 936 static void installV8TestInterface5Template(v8::Local<v8::FunctionTemplate> func
tionTemplate, v8::Isolate* isolate) |
| 937 { | 937 { |
| 938 functionTemplate->ReadOnlyPrototype(); | 938 functionTemplate->ReadOnlyPrototype(); |
| 939 | 939 |
| 940 v8::Local<v8::Signature> defaultSignature; | 940 v8::Local<v8::Signature> defaultSignature; |
| 941 if (!RuntimeEnabledFeatures::featureNameEnabled()) | 941 if (!RuntimeEnabledFeatures::featureNameEnabled()) |
| 942 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "", V8TestInterfaceEmpty::domTemplate(isolate), V8TestInterfac
e5::internalFieldCount, 0, 0, 0, 0, 0, 0); | 942 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface5", V8TestInterfaceEmpty::domTemplate(isolate),
V8TestInterface5::internalFieldCount, 0, 0, 0, 0, 0, 0); |
| 943 else | 943 else |
| 944 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface5", V8TestInterfaceEmpty::domTemplate(isolate),
V8TestInterface5::internalFieldCount, | 944 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface5", V8TestInterfaceEmpty::domTemplate(isolate),
V8TestInterface5::internalFieldCount, |
| 945 V8TestInterface5Attributes, WTF_ARRAY_LENGTH(V8TestInterface5Attribu
tes), | 945 V8TestInterface5Attributes, WTF_ARRAY_LENGTH(V8TestInterface5Attribu
tes), |
| 946 V8TestInterface5Accessors, WTF_ARRAY_LENGTH(V8TestInterface5Accessor
s), | 946 V8TestInterface5Accessors, WTF_ARRAY_LENGTH(V8TestInterface5Accessor
s), |
| 947 V8TestInterface5Methods, WTF_ARRAY_LENGTH(V8TestInterface5Methods)); | 947 V8TestInterface5Methods, WTF_ARRAY_LENGTH(V8TestInterface5Methods)); |
| 948 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 948 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 949 ALLOW_UNUSED_LOCAL(instanceTemplate); | 949 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| 950 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 950 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
| 951 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 951 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
| 952 static const V8DOMConfiguration::ConstantConfiguration V8TestInterface5Const
ants[] = { | 952 static const V8DOMConfiguration::ConstantConfiguration V8TestInterface5Const
ants[] = { |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1054 scriptWrappable->toImpl<TestInterface5Implementation>()->ref(); | 1054 scriptWrappable->toImpl<TestInterface5Implementation>()->ref(); |
| 1055 } | 1055 } |
| 1056 | 1056 |
| 1057 void V8TestInterface5::derefObject(ScriptWrappable* scriptWrappable) | 1057 void V8TestInterface5::derefObject(ScriptWrappable* scriptWrappable) |
| 1058 { | 1058 { |
| 1059 scriptWrappable->toImpl<TestInterface5Implementation>()->deref(); | 1059 scriptWrappable->toImpl<TestInterface5Implementation>()->deref(); |
| 1060 } | 1060 } |
| 1061 | 1061 |
| 1062 } // namespace blink | 1062 } // namespace blink |
| 1063 #endif // ENABLE(CONDITION) | 1063 #endif // ENABLE(CONDITION) |
| OLD | NEW |