| OLD | NEW |
| 1 /* | 1 /* |
| 2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
| 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
| 4 | 4 |
| 5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
| 6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
| 7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
| 8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
| 9 | 9 |
| 10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
| (...skipping 5095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5106 } | 5106 } |
| 5107 | 5107 |
| 5108 TestObjV8Internal::constructor(args); | 5108 TestObjV8Internal::constructor(args); |
| 5109 } | 5109 } |
| 5110 | 5110 |
| 5111 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestObjectTemplate(v8::Handle
<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorld
Type) | 5111 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestObjectTemplate(v8::Handle
<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorld
Type) |
| 5112 { | 5112 { |
| 5113 desc->ReadOnlyPrototype(); | 5113 desc->ReadOnlyPrototype(); |
| 5114 | 5114 |
| 5115 v8::Local<v8::Signature> defaultSignature; | 5115 v8::Local<v8::Signature> defaultSignature; |
| 5116 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestOb
ject", V8EventTarget::GetTemplate(isolate, currentWorldType), V8TestObject::inte
rnalFieldCount, | 5116 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestOb
ject", V8EventTarget::GetTemplate(isolate, currentWorldType), V8TestObject::inte
rnalFieldCount, V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes)
, V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods), isolate, currentWo
rldType); |
| 5117 V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes), | |
| 5118 V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods), isolate, cur
rentWorldType); | |
| 5119 UNUSED_PARAM(defaultSignature); | 5117 UNUSED_PARAM(defaultSignature); |
| 5120 desc->SetCallHandler(V8TestObject::constructorCallback); | 5118 desc->SetCallHandler(V8TestObject::constructorCallback); |
| 5121 desc->SetLength(1); | 5119 desc->SetLength(1); |
| 5122 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); | 5120 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); |
| 5123 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); | 5121 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); |
| 5124 UNUSED_PARAM(instance); | 5122 UNUSED_PARAM(instance); |
| 5125 UNUSED_PARAM(proto); | 5123 UNUSED_PARAM(proto); |
| 5126 if (RuntimeEnabledFeatures::featureNameEnabled()) { | 5124 if (RuntimeEnabledFeatures::featureNameEnabled()) { |
| 5127 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ | 5125 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ |
| 5128 {"enabledAtRuntimeAttr", TestObjV8Internal::enabledAtRuntimeAttrAttribut
eGetterCallback, TestObjV8Internal::enabledAtRuntimeAttrAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::None), 0 /* on instance */}; | 5126 {"enabledAtRuntimeAttr", TestObjV8Internal::enabledAtRuntimeAttrAttribut
eGetterCallback, TestObjV8Internal::enabledAtRuntimeAttrAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::None), 0 /* on instance */}; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5295 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &wrapperTypeInf
o, wrapper, isolate, WrapperConfiguration::Independent); | 5293 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &wrapperTypeInf
o, wrapper, isolate, WrapperConfiguration::Independent); |
| 5296 return wrapper; | 5294 return wrapper; |
| 5297 } | 5295 } |
| 5298 | 5296 |
| 5299 void V8TestObject::derefObject(void* object) | 5297 void V8TestObject::derefObject(void* object) |
| 5300 { | 5298 { |
| 5301 fromInternalPointer(object)->deref(); | 5299 fromInternalPointer(object)->deref(); |
| 5302 } | 5300 } |
| 5303 | 5301 |
| 5304 } // namespace WebCore | 5302 } // namespace WebCore |
| OLD | NEW |