| 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 2377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2388 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", V8TestInterfaceEmpty::domTemplate(isolate), V
8TestInterface::internalFieldCount, 0, 0, 0, 0, 0, 0); | 2388 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", V8TestInterfaceEmpty::domTemplate(isolate), V
8TestInterface::internalFieldCount, 0, 0, 0, 0, 0, 0); |
| 2389 else | 2389 else |
| 2390 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", V8TestInterfaceEmpty::domTemplate(isolate), V
8TestInterface::internalFieldCount, | 2390 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", V8TestInterfaceEmpty::domTemplate(isolate), V
8TestInterface::internalFieldCount, |
| 2391 V8TestInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestInterfaceAttribute
s), | 2391 V8TestInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestInterfaceAttribute
s), |
| 2392 V8TestInterfaceAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceAccessors)
, | 2392 V8TestInterfaceAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceAccessors)
, |
| 2393 V8TestInterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods)); | 2393 V8TestInterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods)); |
| 2394 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 2394 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 2395 ALLOW_UNUSED_LOCAL(instanceTemplate); | 2395 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| 2396 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 2396 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
| 2397 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 2397 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
| 2398 ExecutionContext* context = currentExecutionContext(isolate); |
| 2399 ALLOW_UNUSED_LOCAL(context); |
| 2398 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 2400 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 2399 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion = \ | 2401 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion = \ |
| 2400 {"conditionalLongAttribute", TestInterfaceImplementationV8Internal::cond
itionalLongAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::conditionalLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, stati
c_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts
, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 2402 {"conditionalLongAttribute", TestInterfaceImplementationV8Internal::cond
itionalLongAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::conditionalLongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, stati
c_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts
, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 2401 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); | 2403 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); |
| 2402 } | 2404 } |
| 2403 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 2405 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 2404 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion = \ | 2406 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion = \ |
| 2405 {"conditionalReadOnlyLongAttribute", TestInterfaceImplementationV8Intern
al::conditionalReadOnlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEF
AULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedT
oAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 2407 {"conditionalReadOnlyLongAttribute", TestInterfaceImplementationV8Intern
al::conditionalReadOnlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEF
AULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedT
oAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 2406 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); | 2408 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); |
| 2407 } | 2409 } |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2791 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2793 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
| 2792 { | 2794 { |
| 2793 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2795 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
| 2794 } | 2796 } |
| 2795 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2797 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
| 2796 { | 2798 { |
| 2797 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2799 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
| 2798 } | 2800 } |
| 2799 } // namespace blink | 2801 } // namespace blink |
| 2800 #endif // ENABLE(CONDITION) | 2802 #endif // ENABLE(CONDITION) |
| OLD | NEW |