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

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

Issue 296403007: Set correct Function.length on overloaded methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed nits Created 6 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
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "HTMLNames.h" 10 #include "HTMLNames.h"
(...skipping 9196 matching lines...) Expand 10 before | Expand all | Expand 10 after
9207 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod OptionalTestInterfaceEmptyArgMethodCallback, 0, 0}, 9207 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod OptionalTestInterfaceEmptyArgMethodCallback, 0, 0},
9208 {"voidMethodOptionalLongArg", TestObjectV8Internal::voidMethodOptionalLongAr gMethodCallback, 0, 0}, 9208 {"voidMethodOptionalLongArg", TestObjectV8Internal::voidMethodOptionalLongAr gMethodCallback, 0, 0},
9209 {"stringMethodOptionalLongArg", TestObjectV8Internal::stringMethodOptionalLo ngArgMethodCallback, 0, 0}, 9209 {"stringMethodOptionalLongArg", TestObjectV8Internal::stringMethodOptionalLo ngArgMethodCallback, 0, 0},
9210 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectV8Internal::testInterf aceEmptyMethodOptionalLongArgMethodCallback, 0, 0}, 9210 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectV8Internal::testInterf aceEmptyMethodOptionalLongArgMethodCallback, 0, 0},
9211 {"longMethodOptionalLongArg", TestObjectV8Internal::longMethodOptionalLongAr gMethodCallback, 0, 0}, 9211 {"longMethodOptionalLongArg", TestObjectV8Internal::longMethodOptionalLongAr gMethodCallback, 0, 0},
9212 {"voidMethodLongArgOptionalLongArg", TestObjectV8Internal::voidMethodLongArg OptionalLongArgMethodCallback, 0, 1}, 9212 {"voidMethodLongArgOptionalLongArg", TestObjectV8Internal::voidMethodLongArg OptionalLongArgMethodCallback, 0, 1},
9213 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectV8Internal::vo idMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, 9213 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectV8Internal::vo idMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1},
9214 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voi dMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, 9214 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voi dMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1},
9215 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectV8Internal::voi dMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, 9215 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectV8Internal::voi dMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1},
9216 {"voidMethodOptionalDictionaryArg", TestObjectV8Internal::voidMethodOptional DictionaryArgMethodCallback, 0, 0}, 9216 {"voidMethodOptionalDictionaryArg", TestObjectV8Internal::voidMethodOptional DictionaryArgMethodCallback, 0, 0},
9217 {"voidMethodVariadicStringArg", TestObjectV8Internal::voidMethodVariadicStri ngArgMethodCallback, 0, 1}, 9217 {"voidMethodVariadicStringArg", TestObjectV8Internal::voidMethodVariadicStri ngArgMethodCallback, 0, 0},
9218 {"voidMethodStringArgVariadicStringArg", TestObjectV8Internal::voidMethodStr ingArgVariadicStringArgMethodCallback, 0, 2}, 9218 {"voidMethodStringArgVariadicStringArg", TestObjectV8Internal::voidMethodStr ingArgVariadicStringArgMethodCallback, 0, 1},
9219 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod VariadicTestInterfaceEmptyArgMethodCallback, 0, 1}, 9219 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod VariadicTestInterfaceEmptyArgMethodCallback, 0, 0},
9220 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectV 8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMethodCal lback, 0, 2}, 9220 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectV 8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMethodCal lback, 0, 1},
9221 {"voidMethodVariadicTestInterfaceGarbageCollectedArg", TestObjectV8Internal: :voidMethodVariadicTestInterfaceGarbageCollectedArgMethodCallback, 0, 1}, 9221 {"voidMethodVariadicTestInterfaceGarbageCollectedArg", TestObjectV8Internal: :voidMethodVariadicTestInterfaceGarbageCollectedArgMethodCallback, 0, 0},
9222 {"voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg", TestObjectV8Int ernal::voidMethodVariadicTestInterfaceWillBeGarbageCollectedArgMethodCallback, 0 , 1}, 9222 {"voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg", TestObjectV8Int ernal::voidMethodVariadicTestInterfaceWillBeGarbageCollectedArgMethodCallback, 0 , 0},
9223 {"overloadedMethodA", TestObjectV8Internal::overloadedMethodAMethodCallback, 0, 1}, 9223 {"overloadedMethodA", TestObjectV8Internal::overloadedMethodAMethodCallback, 0, 1},
9224 {"overloadedMethodB", TestObjectV8Internal::overloadedMethodBMethodCallback, 0, 1}, 9224 {"overloadedMethodB", TestObjectV8Internal::overloadedMethodBMethodCallback, 0, 1},
9225 {"overloadedMethodC", TestObjectV8Internal::overloadedMethodCMethodCallback, 0, 1}, 9225 {"overloadedMethodC", TestObjectV8Internal::overloadedMethodCMethodCallback, 0, 1},
9226 {"overloadedMethodD", TestObjectV8Internal::overloadedMethodDMethodCallback, 0, 1}, 9226 {"overloadedMethodD", TestObjectV8Internal::overloadedMethodDMethodCallback, 0, 1},
9227 {"overloadedMethodE", TestObjectV8Internal::overloadedMethodEMethodCallback, 0, 1}, 9227 {"overloadedMethodE", TestObjectV8Internal::overloadedMethodEMethodCallback, 0, 1},
9228 {"overloadedMethodF", TestObjectV8Internal::overloadedMethodFMethodCallback, 0, 0}, 9228 {"overloadedMethodF", TestObjectV8Internal::overloadedMethodFMethodCallback, 0, 0},
9229 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback, 0, 1}, 9229 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback, 0, 1},
9230 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback, 0, 1}, 9230 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback, 0, 1},
9231 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback, 0, 1}, 9231 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback, 0, 1},
9232 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM ethodMethodCallbackForMainWorld, 0}, 9232 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM ethodMethodCallbackForMainWorld, 0},
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
9463 fromInternalPointer(object)->deref(); 9463 fromInternalPointer(object)->deref();
9464 } 9464 }
9465 9465
9466 template<> 9466 template<>
9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
9468 { 9468 {
9469 return toV8(impl, creationContext, isolate); 9469 return toV8(impl, creationContext, isolate);
9470 } 9470 }
9471 9471
9472 } // namespace WebCore 9472 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698