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

Side by Side Diff: Source/bindings/tests/idls/TestObject.idl

Issue 131973012: Add overload support for non-wrapper type vs. primitive type (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline IDB tests Created 6 years, 11 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary formstrArg, with or without 5 * Redistribution and use in source and binary formstrArg, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // Overloads 220 // Overloads
221 void overloadedMethod(long longArg); 221 void overloadedMethod(long longArg);
222 void overloadedMethod(TestCallbackInterface callbackInterfaceArg); 222 void overloadedMethod(TestCallbackInterface callbackInterfaceArg);
223 void overloadedMethod(TestObject objArg); 223 void overloadedMethod(TestObject objArg);
224 void overloadedMethod(DOMString[] arrayArg); 224 void overloadedMethod(DOMString[] arrayArg);
225 void overloadedMethod(sequence<unsigned long> sequenceArg); 225 void overloadedMethod(sequence<unsigned long> sequenceArg);
226 void overloadedMethodA(TestObject? objArg, optional long longArg); 226 void overloadedMethodA(TestObject? objArg, optional long longArg);
227 void overloadedMethodA(TestObject? objArg, DOMString strArg); 227 void overloadedMethodA(TestObject? objArg, DOMString strArg);
228 void overloadedMethodB(DOMString strArg); 228 void overloadedMethodB(DOMString strArg);
229 void overloadedMethodB([StrictTypeChecking] DOMString strArg); 229 void overloadedMethodB([StrictTypeChecking] DOMString strArg);
230 void overloadedMethodC(Dictionary dictionaryArg); // Non-wrapper type
231 void overloadedMethodC(double doubleArg);
230 232
231 // Class methods within JavaScript (like what's used for IDBKeyRange). 233 // Class methods within JavaScript (like what's used for IDBKeyRange).
232 static void classMethod(); 234 static void classMethod();
233 static long classMethodWithOptional(optional long arg); 235 static long classMethodWithOptional(optional long arg);
234 [Custom] static void classMethod2(long arg); 236 [Custom] static void classMethod2(long arg);
235 237
236 void classMethodWithClamp([Clamp] unsigned short objArgsShort, [Clamp] unsig ned long objArgsLong); 238 void classMethodWithClamp([Clamp] unsigned short objArgsShort, [Clamp] unsig ned long objArgsLong);
237 239
238 // [RuntimeEnabled] methods and attributes. 240 // [RuntimeEnabled] methods and attributes.
239 [RuntimeEnabled=FeatureName] void enabledAtRuntimeMethod(long longArg); 241 [RuntimeEnabled=FeatureName] void enabledAtRuntimeMethod(long longArg);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; 313 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1;
312 314
313 // PutForwards 315 // PutForwards
314 [PutForwards=href] readonly attribute TestNode location; 316 [PutForwards=href] readonly attribute TestNode location;
315 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; 317 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException;
316 }; 318 };
317 319
318 // The following comment should not generate any code 320 // The following comment should not generate any code
319 // TestObject implements TestImplements; 321 // TestObject implements TestImplements;
320 322
OLDNEW
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestInterfaceConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698