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

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

Issue 713403004: IDL: Generic Dictionary support in union types (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 sequence<long>? nullableLongSequenceMethod(); 355 sequence<long>? nullableLongSequenceMethod();
356 // Union types 356 // Union types
357 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod(); 357 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod();
358 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod(); 358 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod();
359 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod(); 359 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod();
360 (TestInterface or long) testInterfaceOrLongMethod(); 360 (TestInterface or long) testInterfaceOrLongMethod();
361 void voidMethodDoubleOrDOMStringArg((double or DOMString) arg); 361 void voidMethodDoubleOrDOMStringArg((double or DOMString) arg);
362 void voidMethodDoubleOrDOMStringOrNullArg((double or DOMString)? arg); 362 void voidMethodDoubleOrDOMStringOrNullArg((double or DOMString)? arg);
363 void voidMethodDoubleOrNullOrDOMStringArg((double? or DOMString) arg); 363 void voidMethodDoubleOrNullOrDOMStringArg((double? or DOMString) arg);
364 void voidMethodDOMStringOrArrayBufferOrArrayBufferViewArg((DOMString or Arra yBuffer or ArrayBufferView) arg); 364 void voidMethodDOMStringOrArrayBufferOrArrayBufferViewArg((DOMString or Arra yBuffer or ArrayBufferView) arg);
365 void voidMethodArrayBufferOrArrayBufferViewOrDictionaryArg((ArrayBuffer or A rrayBufferView or Dictionary) arg);
365 // Currently only used on interface type arguments 366 // Currently only used on interface type arguments
366 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg); 367 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg);
367 // Callback interface types 368 // Callback interface types
368 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg); 369 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg);
369 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg); 370 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg);
370 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg); 371 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg);
371 // Enumerations 372 // Enumerations
372 TestEnum testEnumMethod(); 373 TestEnum testEnumMethod();
373 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 374 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
374 // Exceptional types 375 // Exceptional types
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 565 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
565 [ImplementedInPrivateScript] attribute short shortAttribute; 566 [ImplementedInPrivateScript] attribute short shortAttribute;
566 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 567 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
567 [ImplementedInPrivateScript] attribute Node nodeAttribute; 568 [ImplementedInPrivateScript] attribute Node nodeAttribute;
568 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 569 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
569 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 570 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
570 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 571 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
571 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 572 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
572 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 573 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
573 }; 574 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698