Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceOwnPropertiesDerived.cpp

Issue 1161463009: bindings: Supports [LenientThis] extended attributes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a layout test for [LenientThis]. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "V8TestInterfaceOwnPropertiesDerived.h" 8 #include "V8TestInterfaceOwnPropertiesDerived.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 } 126 }
127 127
128 } // namespace TestInterfaceOwnPropertiesDerivedV8Internal 128 } // namespace TestInterfaceOwnPropertiesDerivedV8Internal
129 129
130 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceOwnProper tiesDerivedAttributes[] = { 130 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceOwnProper tiesDerivedAttributes[] = {
131 {"noExposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Internal: :noExposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesD erivedV8Internal::noExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, s tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v 8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstanc e}, 131 {"noExposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Internal: :noExposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesD erivedV8Internal::noExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, s tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v 8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstanc e},
132 {"doNotExposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Intern al::doNotExposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPrope rtiesDerivedV8Internal::doNotExposeJSAccessorAttributeAttributeSetterCallback, 0 , 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAtt ribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration:: OnInstance}, 132 {"doNotExposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Intern al::doNotExposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPrope rtiesDerivedV8Internal::doNotExposeJSAccessorAttributeAttributeSetterCallback, 0 , 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAtt ribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration:: OnInstance},
133 }; 133 };
134 134
135 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceOwnPropert iesDerivedAccessors[] = { 135 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceOwnPropert iesDerivedAccessors[] = {
136 {"exposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Internal::e xposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesDeriv edV8Internal::exposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_ cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::Non e), V8DOMConfiguration::ExposedToAllScripts}, 136 {"exposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Internal::e xposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesDeriv edV8Internal::exposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_ cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::Non e), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder},
137 }; 137 };
138 138
139 static void installV8TestInterfaceOwnPropertiesDerivedTemplate(v8::Local<v8::Fun ctionTemplate> functionTemplate, v8::Isolate* isolate) 139 static void installV8TestInterfaceOwnPropertiesDerivedTemplate(v8::Local<v8::Fun ctionTemplate> functionTemplate, v8::Isolate* isolate)
140 { 140 {
141 functionTemplate->ReadOnlyPrototype(); 141 functionTemplate->ReadOnlyPrototype();
142 142
143 v8::Local<v8::Signature> defaultSignature; 143 v8::Local<v8::Signature> defaultSignature;
144 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceOwnPropertiesDerived", V8TestInterfaceOwnProperties: :domTemplate(isolate), V8TestInterfaceOwnPropertiesDerived::internalFieldCount, 144 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceOwnPropertiesDerived", V8TestInterfaceOwnProperties: :domTemplate(isolate), V8TestInterfaceOwnPropertiesDerived::internalFieldCount,
145 V8TestInterfaceOwnPropertiesDerivedAttributes, WTF_ARRAY_LENGTH(V8TestIn terfaceOwnPropertiesDerivedAttributes), 145 V8TestInterfaceOwnPropertiesDerivedAttributes, WTF_ARRAY_LENGTH(V8TestIn terfaceOwnPropertiesDerivedAttributes),
146 V8TestInterfaceOwnPropertiesDerivedAccessors, WTF_ARRAY_LENGTH(V8TestInt erfaceOwnPropertiesDerivedAccessors), 146 V8TestInterfaceOwnPropertiesDerivedAccessors, WTF_ARRAY_LENGTH(V8TestInt erfaceOwnPropertiesDerivedAccessors),
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 { 178 {
179 scriptWrappable->toImpl<TestInterfaceOwnPropertiesDerived>()->ref(); 179 scriptWrappable->toImpl<TestInterfaceOwnPropertiesDerived>()->ref();
180 } 180 }
181 181
182 void V8TestInterfaceOwnPropertiesDerived::derefObject(ScriptWrappable* scriptWra ppable) 182 void V8TestInterfaceOwnPropertiesDerived::derefObject(ScriptWrappable* scriptWra ppable)
183 { 183 {
184 scriptWrappable->toImpl<TestInterfaceOwnPropertiesDerived>()->deref(); 184 scriptWrappable->toImpl<TestInterfaceOwnPropertiesDerived>()->deref();
185 } 185 }
186 186
187 } // namespace blink 187 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestInterfaceOwnProperties.cpp ('k') | Source/bindings/tests/results/core/V8TestNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698