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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceAccessors.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 "V8TestInterfaceAccessors.h" 8 #include "V8TestInterfaceAccessors.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 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 126 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
127 } 127 }
128 128
129 } // namespace TestInterfaceAccessorsV8Internal 129 } // namespace TestInterfaceAccessorsV8Internal
130 130
131 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAccessors Attributes[] = { 131 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAccessors Attributes[] = {
132 {"doNotExposeJSAccessorAttribute", TestInterfaceAccessorsV8Internal::doNotEx poseJSAccessorAttributeAttributeGetterCallback, TestInterfaceAccessorsV8Internal ::doNotExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 132 {"doNotExposeJSAccessorAttribute", TestInterfaceAccessorsV8Internal::doNotEx poseJSAccessorAttributeAttributeGetterCallback, TestInterfaceAccessorsV8Internal ::doNotExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
133 }; 133 };
134 134
135 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceAccessorsA ccessors[] = { 135 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceAccessorsA ccessors[] = {
136 {"noExposeJSAccessorAttribute", TestInterfaceAccessorsV8Internal::noExposeJS AccessorAttributeAttributeGetterCallback, TestInterfaceAccessorsV8Internal::noEx poseJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu ration::ExposedToAllScripts}, 136 {"noExposeJSAccessorAttribute", TestInterfaceAccessorsV8Internal::noExposeJS AccessorAttributeAttributeGetterCallback, TestInterfaceAccessorsV8Internal::noEx poseJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu ration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder},
137 {"exposeJSAccessorAttribute", TestInterfaceAccessorsV8Internal::exposeJSAcce ssorAttributeAttributeGetterCallback, TestInterfaceAccessorsV8Internal::exposeJS AccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration ::ExposedToAllScripts}, 137 {"exposeJSAccessorAttribute", TestInterfaceAccessorsV8Internal::exposeJSAcce ssorAttributeAttributeGetterCallback, TestInterfaceAccessorsV8Internal::exposeJS AccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration ::ExposedToAllScripts, V8DOMConfiguration::CheckHolder},
138 }; 138 };
139 139
140 static void installV8TestInterfaceAccessorsTemplate(v8::Local<v8::FunctionTempla te> functionTemplate, v8::Isolate* isolate) 140 static void installV8TestInterfaceAccessorsTemplate(v8::Local<v8::FunctionTempla te> functionTemplate, v8::Isolate* isolate)
141 { 141 {
142 functionTemplate->ReadOnlyPrototype(); 142 functionTemplate->ReadOnlyPrototype();
143 143
144 v8::Local<v8::Signature> defaultSignature; 144 v8::Local<v8::Signature> defaultSignature;
145 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceAccessors", V8TestInterfaceEmpty::domTemplate(isolat e), V8TestInterfaceAccessors::internalFieldCount, 145 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestInterfaceAccessors", V8TestInterfaceEmpty::domTemplate(isolat e), V8TestInterfaceAccessors::internalFieldCount,
146 V8TestInterfaceAccessorsAttributes, WTF_ARRAY_LENGTH(V8TestInterfaceAcce ssorsAttributes), 146 V8TestInterfaceAccessorsAttributes, WTF_ARRAY_LENGTH(V8TestInterfaceAcce ssorsAttributes),
147 V8TestInterfaceAccessorsAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceAcces sorsAccessors), 147 V8TestInterfaceAccessorsAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceAcces sorsAccessors),
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 { 179 {
180 scriptWrappable->toImpl<TestInterfaceAccessors>()->ref(); 180 scriptWrappable->toImpl<TestInterfaceAccessors>()->ref();
181 } 181 }
182 182
183 void V8TestInterfaceAccessors::derefObject(ScriptWrappable* scriptWrappable) 183 void V8TestInterfaceAccessors::derefObject(ScriptWrappable* scriptWrappable)
184 { 184 {
185 scriptWrappable->toImpl<TestInterfaceAccessors>()->deref(); 185 scriptWrappable->toImpl<TestInterfaceAccessors>()->deref();
186 } 186 }
187 187
188 } // namespace blink 188 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698