| 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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 856 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{ | 856 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{ |
| 857 "toString", TestInterface5ImplementationV8Internal::toStringMethodCallba
ck, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 857 "toString", TestInterface5ImplementationV8Internal::toStringMethodCallba
ck, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
| 858 }; | 858 }; |
| 859 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, stati
c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConf
iguration, isolate); | 859 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, stati
c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConf
iguration, isolate); |
| 860 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)); | 860 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)); |
| 861 | 861 |
| 862 // Custom toString template | 862 // Custom toString template |
| 863 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 863 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 864 } | 864 } |
| 865 | 865 |
| 866 v8::Handle<v8::FunctionTemplate> V8TestInterface5::domTemplate(v8::Isolate* isol
ate) | 866 v8::Local<v8::FunctionTemplate> V8TestInterface5::domTemplate(v8::Isolate* isola
te) |
| 867 { | 867 { |
| 868 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterface5Template); | 868 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterface5Template); |
| 869 } | 869 } |
| 870 | 870 |
| 871 bool V8TestInterface5::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* i
solate) | 871 bool V8TestInterface5::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* i
solate) |
| 872 { | 872 { |
| 873 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); | 873 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); |
| 874 } | 874 } |
| 875 | 875 |
| 876 v8::Handle<v8::Object> V8TestInterface5::findInstanceInPrototypeChain(v8::Handle
<v8::Value> v8Value, v8::Isolate* isolate) | 876 v8::Handle<v8::Object> V8TestInterface5::findInstanceInPrototypeChain(v8::Handle
<v8::Value> v8Value, v8::Isolate* isolate) |
| (...skipping 50 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 |