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 #include "V8TestObjectPython.h" | 8 #include "V8TestObjectPython.h" |
9 | 9 |
10 #include "HTMLNames.h" | 10 #include "HTMLNames.h" |
(...skipping 7678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7689 functionTemplate->Set(v8AtomicString(isolate, "overloadedStaticMethod"), v8:
:FunctionTemplate::New(isolate, TestObjectPythonV8Internal::overloadedStaticMeth
odMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 1)); | 7689 functionTemplate->Set(v8AtomicString(isolate, "overloadedStaticMethod"), v8:
:FunctionTemplate::New(isolate, TestObjectPythonV8Internal::overloadedStaticMeth
odMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 1)); |
7690 #if ENABLE(CONDITION) | 7690 #if ENABLE(CONDITION) |
7691 functionTemplate->Set(v8AtomicString(isolate, "conditionalConditionStaticVoi
dMethod"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::condit
ionalConditionStaticVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signa
ture>(), 0)); | 7691 functionTemplate->Set(v8AtomicString(isolate, "conditionalConditionStaticVoi
dMethod"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::condit
ionalConditionStaticVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signa
ture>(), 0)); |
7692 #endif // ENABLE(CONDITION) | 7692 #endif // ENABLE(CONDITION) |
7693 prototypeTemplate->Set(v8AtomicString(isolate, "doNotCheckSignatureVoidMetho
d"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::doNotCheckSi
gnatureVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 0)); | 7693 prototypeTemplate->Set(v8AtomicString(isolate, "doNotCheckSignatureVoidMetho
d"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::doNotCheckSi
gnatureVoidMethodMethodCallback, v8Undefined(), v8::Local<v8::Signature>(), 0)); |
7694 prototypeTemplate->Set(v8AtomicString(isolate, "notEnumerableVoidMethod"), v
8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::notEnumerableVoidM
ethodMethodCallback, v8Undefined(), defaultSignature, 0), static_cast<v8::Proper
tyAttribute>(v8::DontDelete | v8::DontEnum)); | 7694 prototypeTemplate->Set(v8AtomicString(isolate, "notEnumerableVoidMethod"), v
8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::notEnumerableVoidM
ethodMethodCallback, v8Undefined(), defaultSignature, 0), static_cast<v8::Proper
tyAttribute>(v8::DontDelete | v8::DontEnum)); |
7695 prototypeTemplate->Set(v8AtomicString(isolate, "readOnlyVoidMethod"), v8::Fu
nctionTemplate::New(isolate, TestObjectPythonV8Internal::readOnlyVoidMethodMetho
dCallback, v8Undefined(), defaultSignature, 0), static_cast<v8::PropertyAttribut
e>(v8::DontDelete | v8::ReadOnly)); | 7695 prototypeTemplate->Set(v8AtomicString(isolate, "readOnlyVoidMethod"), v8::Fu
nctionTemplate::New(isolate, TestObjectPythonV8Internal::readOnlyVoidMethodMetho
dCallback, v8Undefined(), defaultSignature, 0), static_cast<v8::PropertyAttribut
e>(v8::DontDelete | v8::ReadOnly)); |
7696 prototypeTemplate->Set(v8AtomicString(isolate, "notEnumerableReadOnlyVoidMet
hod"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::notEnumera
bleReadOnlyVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0), static
_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum | v8::ReadOnly)); | 7696 prototypeTemplate->Set(v8AtomicString(isolate, "notEnumerableReadOnlyVoidMet
hod"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::notEnumera
bleReadOnlyVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0), static
_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum | v8::ReadOnly)); |
7697 if (RuntimeEnabledFeatures::featureNameEnabled()) | 7697 if (RuntimeEnabledFeatures::featureNameEnabled()) |
7698 prototypeTemplate->Set(v8AtomicString(isolate, "runtimeEnabledVoidMethod
"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::runtimeEnable
dVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0)); | 7698 prototypeTemplate->Set(v8AtomicString(isolate, "runtimeEnabledVoidMethod
"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Internal::runtimeEnable
dVoidMethodMethodCallback, v8Undefined(), defaultSignature, 0)); |
7699 if (DOMWrapperWorld::current(isolate)->isMainWorld()) { | 7699 if (DOMWrapperWorld::current(isolate).isMainWorld()) { |
7700 if (RuntimeEnabledFeatures::featureNameEnabled()) | 7700 if (RuntimeEnabledFeatures::featureNameEnabled()) |
7701 prototypeTemplate->Set(v8AtomicString(isolate, "perWorldBindingsRunt
imeEnabledVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Int
ernal::perWorldBindingsRuntimeEnabledVoidMethodMethodCallbackForMainWorld, v8Und
efined(), defaultSignature, 0)); | 7701 prototypeTemplate->Set(v8AtomicString(isolate, "perWorldBindingsRunt
imeEnabledVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Int
ernal::perWorldBindingsRuntimeEnabledVoidMethodMethodCallbackForMainWorld, v8Und
efined(), defaultSignature, 0)); |
7702 } else { | 7702 } else { |
7703 if (RuntimeEnabledFeatures::featureNameEnabled()) | 7703 if (RuntimeEnabledFeatures::featureNameEnabled()) |
7704 prototypeTemplate->Set(v8AtomicString(isolate, "perWorldBindingsRunt
imeEnabledVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Int
ernal::perWorldBindingsRuntimeEnabledVoidMethodMethodCallback, v8Undefined(), de
faultSignature, 0)); | 7704 prototypeTemplate->Set(v8AtomicString(isolate, "perWorldBindingsRunt
imeEnabledVoidMethod"), v8::FunctionTemplate::New(isolate, TestObjectPythonV8Int
ernal::perWorldBindingsRuntimeEnabledVoidMethodMethodCallback, v8Undefined(), de
faultSignature, 0)); |
7705 } | 7705 } |
7706 instanceTemplate->Set(v8AtomicString(isolate, "unforgeableVoidMethod"), v8::
FunctionTemplate::New(isolate, TestObjectPythonV8Internal::unforgeableVoidMethod
MethodCallback, v8Undefined(), defaultSignature, 0)); | 7706 instanceTemplate->Set(v8AtomicString(isolate, "unforgeableVoidMethod"), v8::
FunctionTemplate::New(isolate, TestObjectPythonV8Internal::unforgeableVoidMethod
MethodCallback, v8Undefined(), defaultSignature, 0)); |
7707 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestObjectPythonV8Internal::staticStringAttributeAttributeGetterCa
llback, TestObjectPythonV8Internal::staticStringAttributeAttributeSetterCallback
, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v
8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT))
; | 7707 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestObjectPythonV8Internal::staticStringAttributeAttributeGetterCa
llback, TestObjectPythonV8Internal::staticStringAttributeAttributeSetterCallback
, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v
8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT))
; |
7708 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticLongA
ttribute"), TestObjectPythonV8Internal::staticLongAttributeAttributeGetterCallba
ck, TestObjectPythonV8Internal::staticLongAttributeAttributeSetterCallback, v8::
External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Han
dle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 7708 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticLongA
ttribute"), TestObjectPythonV8Internal::staticLongAttributeAttributeGetterCallba
ck, TestObjectPythonV8Internal::staticLongAttributeAttributeSetterCallback, v8::
External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Han
dle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
7709 | 7709 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7789 fromInternalPointer(object)->deref(); | 7789 fromInternalPointer(object)->deref(); |
7790 } | 7790 } |
7791 | 7791 |
7792 template<> | 7792 template<> |
7793 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) | 7793 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object
> creationContext, v8::Isolate* isolate) |
7794 { | 7794 { |
7795 return toV8(impl, creationContext, isolate); | 7795 return toV8(impl, creationContext, isolate); |
7796 } | 7796 } |
7797 | 7797 |
7798 } // namespace WebCore | 7798 } // namespace WebCore |
OLD | NEW |