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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceNode.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 "V8TestInterfaceNode.h" 8 #include "V8TestInterfaceNode.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 static void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodCall backForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) 318 static void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodCall backForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
319 { 319 {
320 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 320 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
321 TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptiona lBooleanArgMethodForMainWorld(info); 321 TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptiona lBooleanArgMethodForMainWorld(info);
322 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 322 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
323 } 323 }
324 324
325 } // namespace TestInterfaceNodeV8Internal 325 } // namespace TestInterfaceNodeV8Internal
326 326
327 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceNodeAccess ors[] = { 327 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceNodeAccess ors[] = {
328 {"nodeName", TestInterfaceNodeV8Internal::nodeNameAttributeGetterCallback, T estInterfaceNodeV8Internal::nodeNameAttributeSetterCallback, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts}, 328 {"nodeName", TestInterfaceNodeV8Internal::nodeNameAttributeGetterCallback, T estInterfaceNodeV8Internal::nodeNameAttributeSetterCallback, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder},
329 {"stringAttribute", TestInterfaceNodeV8Internal::stringAttributeAttributeGet terCallback, TestInterfaceNodeV8Internal::stringAttributeAttributeSetterCallback , 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Property Attribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts}, 329 {"stringAttribute", TestInterfaceNodeV8Internal::stringAttributeAttributeGet terCallback, TestInterfaceNodeV8Internal::stringAttributeAttributeSetterCallback , 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Property Attribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguratio n::CheckHolder},
330 {"readonlyTestInterfaceEmptyAttribute", TestInterfaceNodeV8Internal::readonl yTestInterfaceEmptyAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8: :AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DO MConfiguration::ExposedToAllScripts}, 330 {"readonlyTestInterfaceEmptyAttribute", TestInterfaceNodeV8Internal::readonl yTestInterfaceEmptyAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8: :AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DO MConfiguration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder},
331 {"eventHandlerAttribute", TestInterfaceNodeV8Internal::eventHandlerAttribute AttributeGetterCallback, TestInterfaceNodeV8Internal::eventHandlerAttributeAttri buteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static _cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts} , 331 {"eventHandlerAttribute", TestInterfaceNodeV8Internal::eventHandlerAttribute AttributeGetterCallback, TestInterfaceNodeV8Internal::eventHandlerAttributeAttri buteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static _cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder},
332 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestInterfaceNodeV8I nternal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallb ack, 0, TestInterfaceNodeV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyA ttributeAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration ::ExposedToAllScripts}, 332 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestInterfaceNodeV8I nternal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallb ack, 0, TestInterfaceNodeV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyA ttributeAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration ::ExposedToAllScripts, V8DOMConfiguration::CheckHolder},
333 {"reflectStringAttribute", TestInterfaceNodeV8Internal::reflectStringAttribu teAttributeGetterCallback, TestInterfaceNodeV8Internal::reflectStringAttributeAt tributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), sta tic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScrip ts}, 333 {"reflectStringAttribute", TestInterfaceNodeV8Internal::reflectStringAttribu teAttributeGetterCallback, TestInterfaceNodeV8Internal::reflectStringAttributeAt tributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), sta tic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScrip ts, V8DOMConfiguration::CheckHolder},
334 {"reflectUrlStringAttribute", TestInterfaceNodeV8Internal::reflectUrlStringA ttributeAttributeGetterCallback, TestInterfaceNodeV8Internal::reflectUrlStringAt tributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFA ULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedT oAllScripts}, 334 {"reflectUrlStringAttribute", TestInterfaceNodeV8Internal::reflectUrlStringA ttributeAttributeGetterCallback, TestInterfaceNodeV8Internal::reflectUrlStringAt tributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFA ULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedT oAllScripts, V8DOMConfiguration::CheckHolder},
335 }; 335 };
336 336
337 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceNodeMethods[ ] = { 337 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceNodeMethods[ ] = {
338 {"testInterfaceEmptyMethod", TestInterfaceNodeV8Internal::testInterfaceEmpty MethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, 338 {"testInterfaceEmptyMethod", TestInterfaceNodeV8Internal::testInterfaceEmpty MethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts},
339 {"perWorldBindingsTestInterfaceEmptyMethod", TestInterfaceNodeV8Internal::pe rWorldBindingsTestInterfaceEmptyMethodMethodCallback, TestInterfaceNodeV8Interna l::perWorldBindingsTestInterfaceEmptyMethodMethodCallbackForMainWorld, 0, V8DOMC onfiguration::ExposedToAllScripts}, 339 {"perWorldBindingsTestInterfaceEmptyMethod", TestInterfaceNodeV8Internal::pe rWorldBindingsTestInterfaceEmptyMethodMethodCallback, TestInterfaceNodeV8Interna l::perWorldBindingsTestInterfaceEmptyMethodMethodCallbackForMainWorld, 0, V8DOMC onfiguration::ExposedToAllScripts},
340 {"perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg", TestInterface NodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethod Callback, TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodO ptionalBooleanArgMethodCallbackForMainWorld, 0, V8DOMConfiguration::ExposedToAll Scripts}, 340 {"perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg", TestInterface NodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethod Callback, TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodO ptionalBooleanArgMethodCallbackForMainWorld, 0, V8DOMConfiguration::ExposedToAll Scripts},
341 }; 341 };
342 342
343 static void installV8TestInterfaceNodeTemplate(v8::Local<v8::FunctionTemplate> f unctionTemplate, v8::Isolate* isolate) 343 static void installV8TestInterfaceNodeTemplate(v8::Local<v8::FunctionTemplate> f unctionTemplate, v8::Isolate* isolate)
344 { 344 {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 386 }
387 387
388 void V8TestInterfaceNode::derefObject(ScriptWrappable* scriptWrappable) 388 void V8TestInterfaceNode::derefObject(ScriptWrappable* scriptWrappable)
389 { 389 {
390 #if !ENABLE(OILPAN) 390 #if !ENABLE(OILPAN)
391 scriptWrappable->toImpl<TestInterfaceNode>()->deref(); 391 scriptWrappable->toImpl<TestInterfaceNode>()->deref();
392 #endif 392 #endif
393 } 393 }
394 394
395 } // namespace blink 395 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698