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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfacePython.cpp

Issue 153883003: [SVG] SVGAnimatedTransform{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove m_zoomAndPan Created 6 years, 10 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
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 // This file has been auto-generated by code_generator_v8.pm. DO NOT MODIFY! 31 // This file has been auto-generated by code_generator_v8.pm. DO NOT MODIFY!
32 32
33 #include "config.h" 33 #include "config.h"
34 #if ENABLE(CONDITION) 34 #if ENABLE(CONDITION)
35 #include "V8TestInterfacePython.h" 35 #include "V8TestInterfacePython.h"
36 36
37 #include "RuntimeEnabledFeatures.h" 37 #include "RuntimeEnabledFeatures.h"
38 #include "V8Node.h" 38 #include "V8Node.h"
39 #include "V8ReferencedType.h"
40 #include "V8TestImplementedAs.h" 39 #include "V8TestImplementedAs.h"
41 #include "V8TestInterfaceEmpty.h" 40 #include "V8TestInterfaceEmpty.h"
41 #include "V8TestObjectPython.h"
42 #include "bindings/tests/idls/TestImplements.h" 42 #include "bindings/tests/idls/TestImplements.h"
43 #include "bindings/tests/idls/TestImplements2Implementation.h" 43 #include "bindings/tests/idls/TestImplements2Implementation.h"
44 #include "bindings/tests/idls/TestPartialInterfacePython.h" 44 #include "bindings/tests/idls/TestPartialInterfacePython.h"
45 #include "bindings/tests/idls/TestPartialInterfacePythonImplementation.h" 45 #include "bindings/tests/idls/TestPartialInterfacePythonImplementation.h"
46 #include "bindings/v8/ExceptionState.h" 46 #include "bindings/v8/ExceptionState.h"
47 #include "bindings/v8/V8AbstractEventListener.h" 47 #include "bindings/v8/V8AbstractEventListener.h"
48 #include "bindings/v8/V8DOMConfiguration.h" 48 #include "bindings/v8/V8DOMConfiguration.h"
49 #include "bindings/v8/V8EventListenerList.h" 49 #include "bindings/v8/V8EventListenerList.h"
50 #include "bindings/v8/V8ObjectConstructor.h" 50 #include "bindings/v8/V8ObjectConstructor.h"
51 #include "core/dom/ContextFeatures.h" 51 #include "core/dom/ContextFeatures.h"
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 858 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
859 } 859 }
860 860
861 } // namespace TestInterfacePythonImplementationV8Internal 861 } // namespace TestInterfacePythonImplementationV8Internal
862 862
863 void V8TestInterfacePython::visitDOMWrapper(void* object, const v8::Persistent<v 8::Object>& wrapper, v8::Isolate* isolate) 863 void V8TestInterfacePython::visitDOMWrapper(void* object, const v8::Persistent<v 8::Object>& wrapper, v8::Isolate* isolate)
864 { 864 {
865 TestInterfacePythonImplementation* impl = fromInternalPointer(object); 865 TestInterfacePythonImplementation* impl = fromInternalPointer(object);
866 v8::Local<v8::Object> creationContext = v8::Local<v8::Object>::New(isolate, wrapper); 866 v8::Local<v8::Object> creationContext = v8::Local<v8::Object>::New(isolate, wrapper);
867 V8WrapperInstantiationScope scope(creationContext, isolate); 867 V8WrapperInstantiationScope scope(creationContext, isolate);
868 ReferencedType* referencedName = impl->referencedName(); 868 TestObjectPython* referencedName = impl->referencedName();
869 if (referencedName) { 869 if (referencedName) {
870 if (!DOMDataStore::containsWrapper<V8ReferencedType>(referencedName, iso late)) 870 if (!DOMDataStore::containsWrapper<V8TestObjectPython>(referencedName, i solate))
871 wrap(referencedName, creationContext, isolate); 871 wrap(referencedName, creationContext, isolate);
872 DOMDataStore::setWrapperReference<V8ReferencedType>(wrapper, referencedN ame, isolate); 872 DOMDataStore::setWrapperReference<V8TestObjectPython>(wrapper, reference dName, isolate);
873 } 873 }
874 setObjectGroup(object, wrapper, isolate); 874 setObjectGroup(object, wrapper, isolate);
875 } 875 }
876 876
877 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfacePythonAtt ributes[] = { 877 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfacePythonAtt ributes[] = {
878 {"testInterfacePythonAttribute", TestInterfacePythonImplementationV8Internal ::testInterfacePythonAttributeAttributeGetterCallback, TestInterfacePythonImplem entationV8Internal::testInterfacePythonAttributeAttributeSetterCallback, 0, 0, 0 , static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute >(v8::None), 0 /* on instance */}, 878 {"testInterfacePythonAttribute", TestInterfacePythonImplementationV8Internal ::testInterfacePythonAttributeAttributeGetterCallback, TestInterfacePythonImplem entationV8Internal::testInterfacePythonAttributeAttributeSetterCallback, 0, 0, 0 , static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute >(v8::None), 0 /* on instance */},
879 {"testImplementedAsConstructorAttribute", TestInterfacePythonImplementationV 8Internal::TestInterfacePythonImplementationConstructorGetter, TestInterfacePyth onImplementationV8Internal::TestInterfacePythonImplementationReplaceableAttribut eSetterCallback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestImplementedAs::wrappe rTypeInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::DontEnum), 0 /* on instance */}, 879 {"testImplementedAsConstructorAttribute", TestInterfacePythonImplementationV 8Internal::TestInterfacePythonImplementationConstructorGetter, TestInterfacePyth onImplementationV8Internal::TestInterfacePythonImplementationReplaceableAttribut eSetterCallback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestImplementedAs::wrappe rTypeInfo), static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::DontEnum), 0 /* on instance */},
880 {"perWorldBindingsStringAttribute", TestInterfacePythonImplementationV8Inter nal::perWorldBindingsStringAttributeAttributeGetterCallback, TestInterfacePython ImplementationV8Internal::perWorldBindingsStringAttributeAttributeSetterCallback , TestInterfacePythonImplementationV8Internal::perWorldBindingsStringAttributeAt tributeGetterCallbackForMainWorld, TestInterfacePythonImplementationV8Internal:: perWorldBindingsStringAttributeAttributeSetterCallbackForMainWorld, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , 0 /* on instance */}, 880 {"perWorldBindingsStringAttribute", TestInterfacePythonImplementationV8Inter nal::perWorldBindingsStringAttributeAttributeGetterCallback, TestInterfacePython ImplementationV8Internal::perWorldBindingsStringAttributeAttributeSetterCallback , TestInterfacePythonImplementationV8Internal::perWorldBindingsStringAttributeAt tributeGetterCallbackForMainWorld, TestInterfacePythonImplementationV8Internal:: perWorldBindingsStringAttributeAttributeSetterCallbackForMainWorld, 0, static_ca st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None) , 0 /* on instance */},
881 {"implementsReadonlyStringAttribute", TestInterfacePythonImplementationV8Int ernal::implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, sta tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8: :None), 0 /* on instance */}, 881 {"implementsReadonlyStringAttribute", TestInterfacePythonImplementationV8Int ernal::implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, sta tic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8: :None), 0 /* on instance */},
882 {"implementsStringAttribute", TestInterfacePythonImplementationV8Internal::i mplementsStringAttributeAttributeGetterCallback, TestInterfacePythonImplementati onV8Internal::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_ cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::Non e), 0 /* on instance */}, 882 {"implementsStringAttribute", TestInterfacePythonImplementationV8Internal::i mplementsStringAttributeAttributeGetterCallback, TestInterfacePythonImplementati onV8Internal::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_ cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::Non e), 0 /* on instance */},
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 } 1030 }
1031 1031
1032 template<> 1032 template<>
1033 v8::Handle<v8::Value> toV8NoInline(TestInterfacePythonImplementation* impl, v8:: Handle<v8::Object> creationContext, v8::Isolate* isolate) 1033 v8::Handle<v8::Value> toV8NoInline(TestInterfacePythonImplementation* impl, v8:: Handle<v8::Object> creationContext, v8::Isolate* isolate)
1034 { 1034 {
1035 return toV8(impl, creationContext, isolate); 1035 return toV8(impl, creationContext, isolate);
1036 } 1036 }
1037 1037
1038 } // namespace WebCore 1038 } // namespace WebCore
1039 #endif // ENABLE(CONDITION) 1039 #endif // ENABLE(CONDITION)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.cpp ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698