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

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

Issue 1150863004: toImplArguments should return HeapVector for Union types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 * 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 // Union types 369 // Union types
370 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod(); 370 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod();
371 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod(); 371 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod();
372 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod(); 372 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod();
373 (TestInterface or long) testInterfaceOrLongMethod(); 373 (TestInterface or long) testInterfaceOrLongMethod();
374 void voidMethodDoubleOrDOMStringArg((double or DOMString) arg); 374 void voidMethodDoubleOrDOMStringArg((double or DOMString) arg);
375 void voidMethodDoubleOrDOMStringOrNullArg((double or DOMString)? arg); 375 void voidMethodDoubleOrDOMStringOrNullArg((double or DOMString)? arg);
376 void voidMethodDoubleOrNullOrDOMStringArg((double? or DOMString) arg); 376 void voidMethodDoubleOrNullOrDOMStringArg((double? or DOMString) arg);
377 void voidMethodDOMStringOrArrayBufferOrArrayBufferViewArg((DOMString or Arra yBuffer or ArrayBufferView) arg); 377 void voidMethodDOMStringOrArrayBufferOrArrayBufferViewArg((DOMString or Arra yBuffer or ArrayBufferView) arg);
378 void voidMethodArrayBufferOrArrayBufferViewOrDictionaryArg((ArrayBuffer or A rrayBufferView or Dictionary) arg); 378 void voidMethodArrayBufferOrArrayBufferViewOrDictionaryArg((ArrayBuffer or A rrayBufferView or Dictionary) arg);
379 // Array of Union types
380 void voidMethodArrayOfDoubleOrDOMStringArg((double or DOMString)... arg);
379 // Currently only used on interface type arguments 381 // Currently only used on interface type arguments
380 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg); 382 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg);
381 // Callback interface types 383 // Callback interface types
382 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg); 384 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg);
383 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg); 385 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg);
384 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg); 386 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg);
385 // Enumerations 387 // Enumerations
386 TestEnum testEnumMethod(); 388 TestEnum testEnumMethod();
387 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 389 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
388 // Exceptional types 390 // Exceptional types
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 607 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
606 [ImplementedInPrivateScript] attribute Node nodeAttribute; 608 [ImplementedInPrivateScript] attribute Node nodeAttribute;
607 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 609 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
608 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 610 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
609 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 611 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
610 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 612 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
611 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 613 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
612 614
613 maplike<long, DOMStringOrDouble>; 615 maplike<long, DOMStringOrDouble>;
614 }; 616 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698