| 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 5488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5499 { | 5499 { |
| 5500 return V8PerIsolateData::from(isolate)->hasInstance(&info, value, MainWorld) | 5500 return V8PerIsolateData::from(isolate)->hasInstance(&info, value, MainWorld) |
| 5501 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, IsolatedWo
rld) | 5501 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, IsolatedWo
rld) |
| 5502 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, WorkerWorl
d); | 5502 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, WorkerWorl
d); |
| 5503 } | 5503 } |
| 5504 | 5504 |
| 5505 void V8TestObject::installPerContextProperties(v8::Handle<v8::Object> instance,
TestObj* impl, v8::Isolate* isolate) | 5505 void V8TestObject::installPerContextProperties(v8::Handle<v8::Object> instance,
TestObj* impl, v8::Isolate* isolate) |
| 5506 { | 5506 { |
| 5507 v8::Local<v8::Object> proto = v8::Local<v8::Object>::Cast(instance->GetProto
type()); | 5507 v8::Local<v8::Object> proto = v8::Local<v8::Object>::Cast(instance->GetProto
type()); |
| 5508 if (ContextFeatures::featureNameEnabled(impl->document())) { | 5508 if (ContextFeatures::featureNameEnabled(impl->document())) { |
| 5509 static const V8DOMConfiguration::AttributeConfiguration attributeConf
iguration =\ | 5509 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ |
| 5510 {"enabledPerContextAttr", TestObjV8Internal::enabledPerContextAttrAttrib
uteGetterCallback, TestObjV8Internal::enabledPerContextAttrAttributeSetterCallba
ck, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Proper
tyAttribute>(v8::None), 0 /* on instance */}; | 5510 {"enabledPerContextAttr", TestObjV8Internal::enabledPerContextAttrAttrib
uteGetterCallback, TestObjV8Internal::enabledPerContextAttrAttributeSetterCallba
ck, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Proper
tyAttribute>(v8::None), 0 /* on instance */}; |
| 5511 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); | 5511 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); |
| 5512 } | 5512 } |
| 5513 } | 5513 } |
| 5514 | 5514 |
| 5515 void V8TestObject::installPerContextPrototypeProperties(v8::Handle<v8::Object> p
roto, v8::Isolate* isolate) | 5515 void V8TestObject::installPerContextPrototypeProperties(v8::Handle<v8::Object> p
roto, v8::Isolate* isolate) |
| 5516 { | 5516 { |
| 5517 UNUSED_PARAM(proto); | 5517 UNUSED_PARAM(proto); |
| 5518 v8::Local<v8::Signature> defaultSignature = v8::Signature::New(GetTemplate(i
solate, worldType(isolate))); | 5518 v8::Local<v8::Signature> defaultSignature = v8::Signature::New(GetTemplate(i
solate, worldType(isolate))); |
| 5519 UNUSED_PARAM(defaultSignature); | 5519 UNUSED_PARAM(defaultSignature); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 5547 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &info, wrapper,
isolate, WrapperConfiguration::Independent); | 5547 V8DOMWrapper::associateObjectWithWrapper<V8TestObject>(impl, &info, wrapper,
isolate, WrapperConfiguration::Independent); |
| 5548 return wrapper; | 5548 return wrapper; |
| 5549 } | 5549 } |
| 5550 | 5550 |
| 5551 void V8TestObject::derefObject(void* object) | 5551 void V8TestObject::derefObject(void* object) |
| 5552 { | 5552 { |
| 5553 fromInternalPointer(object)->deref(); | 5553 fromInternalPointer(object)->deref(); |
| 5554 } | 5554 } |
| 5555 | 5555 |
| 5556 } // namespace WebCore | 5556 } // namespace WebCore |
| OLD | NEW |