| 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 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 "windowExposedStaticMethod", TestInterface5ImplementationV8Internal:
:windowExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAll
Scripts, | 988 "windowExposedStaticMethod", TestInterface5ImplementationV8Internal:
:windowExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAll
Scripts, |
| 989 }; | 989 }; |
| 990 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v
8::Signature>(), v8::None, windowExposedStaticMethodMethodConfiguration); | 990 V8DOMConfiguration::installMethod(isolate, functionTemplate, v8::Local<v
8::Signature>(), v8::None, windowExposedStaticMethodMethodConfiguration); |
| 991 } | 991 } |
| 992 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{ | 992 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{ |
| 993 "toString", TestInterface5ImplementationV8Internal::toStringMethodCallba
ck, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 993 "toString", TestInterface5ImplementationV8Internal::toStringMethodCallba
ck, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
| 994 }; | 994 }; |
| 995 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringM
ethodConfiguration); | 995 V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignatu
re, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringM
ethodConfiguration); |
| 996 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestInterface5ImplementationV8Internal::staticStringAttributeAttri
buteGetterCallback, TestInterface5ImplementationV8Internal::staticStringAttribut
eAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::Propert
yAttribute>(v8::None), v8::Local<v8::AccessorSignature>(), static_cast<v8::Acces
sControl>(v8::DEFAULT)); | 996 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestInterface5ImplementationV8Internal::staticStringAttributeAttri
buteGetterCallback, TestInterface5ImplementationV8Internal::staticStringAttribut
eAttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::Propert
yAttribute>(v8::None), v8::Local<v8::AccessorSignature>(), static_cast<v8::Acces
sControl>(v8::DEFAULT)); |
| 997 | 997 |
| 998 instanceTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(is
olate, "TestInterface5")); |
| 999 |
| 1000 prototypeTemplate->Set(v8::Symbol::GetToStringTag(isolate), v8AtomicString(i
solate, "TestInterface5Prototype")); |
| 1001 |
| 998 // Custom toString template | 1002 // Custom toString template |
| 999 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 1003 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 1000 } | 1004 } |
| 1001 | 1005 |
| 1002 v8::Local<v8::FunctionTemplate> V8TestInterface5::domTemplate(v8::Isolate* isola
te) | 1006 v8::Local<v8::FunctionTemplate> V8TestInterface5::domTemplate(v8::Isolate* isola
te) |
| 1003 { | 1007 { |
| 1004 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterface5Template); | 1008 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterface5Template); |
| 1005 } | 1009 } |
| 1006 | 1010 |
| 1007 bool V8TestInterface5::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* is
olate) | 1011 bool V8TestInterface5::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* is
olate) |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1061 scriptWrappable->toImpl<TestInterface5Implementation>()->ref(); | 1065 scriptWrappable->toImpl<TestInterface5Implementation>()->ref(); |
| 1062 } | 1066 } |
| 1063 | 1067 |
| 1064 void V8TestInterface5::derefObject(ScriptWrappable* scriptWrappable) | 1068 void V8TestInterface5::derefObject(ScriptWrappable* scriptWrappable) |
| 1065 { | 1069 { |
| 1066 scriptWrappable->toImpl<TestInterface5Implementation>()->deref(); | 1070 scriptWrappable->toImpl<TestInterface5Implementation>()->deref(); |
| 1067 } | 1071 } |
| 1068 | 1072 |
| 1069 } // namespace blink | 1073 } // namespace blink |
| 1070 #endif // ENABLE(CONDITION) | 1074 #endif // ENABLE(CONDITION) |
| OLD | NEW |