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

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

Issue 16924018: [Binding] Remove signature from domAttribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 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
OLDNEW
1 /* 1 /*
2 This file is part of the Blink open source project. 2 This file is part of the Blink open source project.
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 68
69 static void nameAttrGetterCallback(v8::Local<v8::String> name, const v8::Propert yCallbackInfo<v8::Value>& info) 69 static void nameAttrGetterCallback(v8::Local<v8::String> name, const v8::Propert yCallbackInfo<v8::Value>& info)
70 { 70 {
71 TestExceptionV8Internal::nameAttrGetter(name, info); 71 TestExceptionV8Internal::nameAttrGetter(name, info);
72 } 72 }
73 73
74 } // namespace TestExceptionV8Internal 74 } // namespace TestExceptionV8Internal
75 75
76 static const V8DOMConfiguration::BatchedAttribute V8TestExceptionAttrs[] = { 76 static const V8DOMConfiguration::BatchedAttribute V8TestExceptionAttrs[] = {
77 // Attribute 'name' (Type: 'attribute' ExtAttr: '') 77 // Attribute 'name'
78 {"name", TestExceptionV8Internal::nameAttrGetterCallback, 0, 0, 0, 0 /* no d ata */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAtt ribute>(v8::None), 0 /* on instance */}, 78 {"name", TestExceptionV8Internal::nameAttrGetterCallback, 0, 0, 0, 0 /* no d ata */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAtt ribute>(v8::None), 0 /* on instance */},
79 }; 79 };
80 80
81 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestExceptionTemplate(v8::Han dle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWo rldType) 81 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestExceptionTemplate(v8::Han dle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWo rldType)
82 { 82 {
83 desc->ReadOnlyPrototype(); 83 desc->ReadOnlyPrototype();
84 84
85 v8::Local<v8::Signature> defaultSignature; 85 v8::Local<v8::Signature> defaultSignature;
86 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestExceptio n", v8::Local<v8::FunctionTemplate>(), V8TestException::internalFieldCount, 86 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestExceptio n", v8::Local<v8::FunctionTemplate>(), V8TestException::internalFieldCount,
87 V8TestExceptionAttrs, WTF_ARRAY_LENGTH(V8TestExceptionAttrs), 87 V8TestExceptionAttrs, WTF_ARRAY_LENGTH(V8TestExceptionAttrs),
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 installPerContextProperties(wrapper, impl.get(), isolate); 132 installPerContextProperties(wrapper, impl.get(), isolate);
133 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent); 133 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap perConfiguration::Independent);
134 return wrapper; 134 return wrapper;
135 } 135 }
136 void V8TestException::derefObject(void* object) 136 void V8TestException::derefObject(void* object)
137 { 137 {
138 static_cast<TestException*>(object)->deref(); 138 static_cast<TestException*>(object)->deref();
139 } 139 }
140 140
141 } // namespace WebCore 141 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestEventConstructor.cpp ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698