| 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 "V8TestInterfaceCheckSecurity.h" | 8 #include "V8TestInterfaceCheckSecurity.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/BindingSecurity.h" | 10 #include "bindings/core/v8/BindingSecurity.h" |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 V8DOMConfiguration::installAttribute(prototypeTemplate, v8::Handle<v8::Objec
tTemplate>(), doNotCheckSecurityPerWorldBindingsVoidMethodOriginSafeAttributeCon
figuration, isolate); | 495 V8DOMConfiguration::installAttribute(prototypeTemplate, v8::Handle<v8::Objec
tTemplate>(), doNotCheckSecurityPerWorldBindingsVoidMethodOriginSafeAttributeCon
figuration, isolate); |
| 496 static const V8DOMConfiguration::AttributeConfiguration doNotCheckSecurityUn
forgeableVoidMethodOriginSafeAttributeConfiguration = { | 496 static const V8DOMConfiguration::AttributeConfiguration doNotCheckSecurityUn
forgeableVoidMethodOriginSafeAttributeConfiguration = { |
| 497 "doNotCheckSecurityUnforgeableVoidMethod", TestInterfaceCheckSecurityV8I
nternal::doNotCheckSecurityUnforgeableVoidMethodOriginSafeMethodGetterCallback,
0, 0, 0, &V8TestInterfaceCheckSecurity::wrapperTypeInfo, v8::ALL_CAN_READ, stati
c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly), V8DOMConfiguration
::ExposedToAllScripts, V8DOMConfiguration::OnInstance, | 497 "doNotCheckSecurityUnforgeableVoidMethod", TestInterfaceCheckSecurityV8I
nternal::doNotCheckSecurityUnforgeableVoidMethodOriginSafeMethodGetterCallback,
0, 0, 0, &V8TestInterfaceCheckSecurity::wrapperTypeInfo, v8::ALL_CAN_READ, stati
c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly), V8DOMConfiguration
::ExposedToAllScripts, V8DOMConfiguration::OnInstance, |
| 498 }; | 498 }; |
| 499 V8DOMConfiguration::installAttribute(instanceTemplate, v8::Handle<v8::Object
Template>(), doNotCheckSecurityUnforgeableVoidMethodOriginSafeAttributeConfigura
tion, isolate); | 499 V8DOMConfiguration::installAttribute(instanceTemplate, v8::Handle<v8::Object
Template>(), doNotCheckSecurityUnforgeableVoidMethodOriginSafeAttributeConfigura
tion, isolate); |
| 500 | 500 |
| 501 // Custom toString template | 501 // Custom toString template |
| 502 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); | 502 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData:
:from(isolate)->toStringTemplate()); |
| 503 } | 503 } |
| 504 | 504 |
| 505 v8::Handle<v8::FunctionTemplate> V8TestInterfaceCheckSecurity::domTemplate(v8::I
solate* isolate) | 505 v8::Local<v8::FunctionTemplate> V8TestInterfaceCheckSecurity::domTemplate(v8::Is
olate* isolate) |
| 506 { | 506 { |
| 507 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterfaceCheckSecurityTemplate); | 507 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeI
nfo*>(&wrapperTypeInfo), installV8TestInterfaceCheckSecurityTemplate); |
| 508 } | 508 } |
| 509 | 509 |
| 510 bool V8TestInterfaceCheckSecurity::hasInstance(v8::Handle<v8::Value> v8Value, v8
::Isolate* isolate) | 510 bool V8TestInterfaceCheckSecurity::hasInstance(v8::Handle<v8::Value> v8Value, v8
::Isolate* isolate) |
| 511 { | 511 { |
| 512 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); | 512 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu
e); |
| 513 } | 513 } |
| 514 | 514 |
| 515 v8::Handle<v8::Object> V8TestInterfaceCheckSecurity::findInstanceInPrototypeChai
n(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) | 515 v8::Handle<v8::Object> V8TestInterfaceCheckSecurity::findInstanceInPrototypeChai
n(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) |
| (...skipping 10 matching lines...) Expand all Loading... |
| 526 { | 526 { |
| 527 scriptWrappable->toImpl<TestInterfaceCheckSecurity>()->ref(); | 527 scriptWrappable->toImpl<TestInterfaceCheckSecurity>()->ref(); |
| 528 } | 528 } |
| 529 | 529 |
| 530 void V8TestInterfaceCheckSecurity::derefObject(ScriptWrappable* scriptWrappable) | 530 void V8TestInterfaceCheckSecurity::derefObject(ScriptWrappable* scriptWrappable) |
| 531 { | 531 { |
| 532 scriptWrappable->toImpl<TestInterfaceCheckSecurity>()->deref(); | 532 scriptWrappable->toImpl<TestInterfaceCheckSecurity>()->deref(); |
| 533 } | 533 } |
| 534 | 534 |
| 535 } // namespace blink | 535 } // namespace blink |
| OLD | NEW |