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

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

Issue 14244017: Make length property return useful values for DOM bindings functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make length property return useful values for DOM bindings functions and interfaces Created 7 years, 8 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 WebKit open source project. 2 This file is part of the WebKit open source project.
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! 3 This file has been generated by generate-bindings.pl. 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 82
83 static v8::Handle<v8::Value> anotherFunctionMethodCallback(const v8::Arguments& args) 83 static v8::Handle<v8::Value> anotherFunctionMethodCallback(const v8::Arguments& args)
84 { 84 {
85 return TestCustomNamedGetterV8Internal::anotherFunctionMethod(args); 85 return TestCustomNamedGetterV8Internal::anotherFunctionMethod(args);
86 } 86 }
87 87
88 } // namespace TestCustomNamedGetterV8Internal 88 } // namespace TestCustomNamedGetterV8Internal
89 89
90 static const V8DOMConfiguration::BatchedMethod V8TestCustomNamedGetterMethods[] = { 90 static const V8DOMConfiguration::BatchedMethod V8TestCustomNamedGetterMethods[] = {
91 {"anotherFunction", TestCustomNamedGetterV8Internal::anotherFunctionMethodCa llback, 0}, 91 {"anotherFunction", TestCustomNamedGetterV8Internal::anotherFunctionMethodCa llback, 0, 1},
92 }; 92 };
93 93
94 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestCustomNamedGetterTemp late(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWor ldType currentWorldType) 94 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestCustomNamedGetterTemp late(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWor ldType currentWorldType)
95 { 95 {
96 desc->ReadOnlyPrototype(); 96 desc->ReadOnlyPrototype();
97 97
98 v8::Local<v8::Signature> defaultSignature; 98 v8::Local<v8::Signature> defaultSignature;
99 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestCustomNa medGetter", v8::Persistent<v8::FunctionTemplate>(), V8TestCustomNamedGetter::int ernalFieldCount, 99 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestCustomNa medGetter", v8::Persistent<v8::FunctionTemplate>(), V8TestCustomNamedGetter::int ernalFieldCount,
100 0, 0, 100 0, 0,
101 V8TestCustomNamedGetterMethods, WTF_ARRAY_LENGTH(V8TestCustomNamedGetter Methods), isolate, currentWorldType); 101 V8TestCustomNamedGetterMethods, WTF_ARRAY_LENGTH(V8TestCustomNamedGetter Methods), isolate, currentWorldType);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 installPerContextProperties(wrapper, impl.get(), isolate); 155 installPerContextProperties(wrapper, impl.get(), isolate);
156 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep endent); 156 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep endent);
157 return wrapper; 157 return wrapper;
158 } 158 }
159 void V8TestCustomNamedGetter::derefObject(void* object) 159 void V8TestCustomNamedGetter::derefObject(void* object)
160 { 160 {
161 static_cast<TestCustomNamedGetter*>(object)->deref(); 161 static_cast<TestCustomNamedGetter*>(object)->deref();
162 } 162 }
163 163
164 } // namespace WebCore 164 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698