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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceOwnProperties.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 "V8TestInterfaceOwnProperties.h" 8 #include "V8TestInterfaceOwnProperties.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 TestInterfaceOwnPropertiesV8Internal 128 } // namespace TestInterfaceOwnPropertiesV8Internal
129 129
130 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceOwnProper tiesAttributes[] = { 130 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceOwnProper tiesAttributes[] = {
131 {"noExposeJSAccessorAttribute", TestInterfaceOwnPropertiesV8Internal::noExpo seJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesV8Intern al::noExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8: :AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DO MConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 131 {"noExposeJSAccessorAttribute", TestInterfaceOwnPropertiesV8Internal::noExpo seJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesV8Intern al::noExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8: :AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DO MConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
132 {"doNotExposeJSAccessorAttribute", TestInterfaceOwnPropertiesV8Internal::doN otExposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesV8 Internal::doNotExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 132 {"doNotExposeJSAccessorAttribute", TestInterfaceOwnPropertiesV8Internal::doN otExposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesV8 Internal::doNotExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
133 }; 133 };
134 134
135 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceOwnPropert iesAccessors[] = { 135 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceOwnPropert iesAccessors[] = {
136 {"exposeJSAccessorAttribute", TestInterfaceOwnPropertiesV8Internal::exposeJS AccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesV8Internal:: exposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfi guration::ExposedToAllScripts}, 136 {"exposeJSAccessorAttribute", TestInterfaceOwnPropertiesV8Internal::exposeJS AccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesV8Internal:: exposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acces sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfi guration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder},
137 }; 137 };
138 138
139 static void installV8TestInterfaceOwnPropertiesTemplate(v8::Local<v8::FunctionTe mplate> functionTemplate, v8::Isolate* isolate) 139 static void installV8TestInterfaceOwnPropertiesTemplate(v8::Local<v8::FunctionTe mplate> 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, "TestInterfaceOwnProperties", V8TestInterfaceEmpty::domTemplate(is olate), V8TestInterfaceOwnProperties::internalFieldCount, 144 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceOwnProperties", V8TestInterfaceEmpty::domTemplate(is olate), V8TestInterfaceOwnProperties::internalFieldCount,
145 V8TestInterfaceOwnPropertiesAttributes, WTF_ARRAY_LENGTH(V8TestInterface OwnPropertiesAttributes), 145 V8TestInterfaceOwnPropertiesAttributes, WTF_ARRAY_LENGTH(V8TestInterface OwnPropertiesAttributes),
146 V8TestInterfaceOwnPropertiesAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceO wnPropertiesAccessors), 146 V8TestInterfaceOwnPropertiesAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceO wnPropertiesAccessors),
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 { 178 {
179 scriptWrappable->toImpl<TestInterfaceOwnProperties>()->ref(); 179 scriptWrappable->toImpl<TestInterfaceOwnProperties>()->ref();
180 } 180 }
181 181
182 void V8TestInterfaceOwnProperties::derefObject(ScriptWrappable* scriptWrappable) 182 void V8TestInterfaceOwnProperties::derefObject(ScriptWrappable* scriptWrappable)
183 { 183 {
184 scriptWrappable->toImpl<TestInterfaceOwnProperties>()->deref(); 184 scriptWrappable->toImpl<TestInterfaceOwnProperties>()->deref();
185 } 185 }
186 186
187 } // namespace blink 187 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698