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

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

Issue 699713003: IDL: ArrayBuffer and ArrayBufferView support for 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 long? nullableLongMethod(); 348 long? nullableLongMethod();
349 DOMString? nullableStringMethod(); 349 DOMString? nullableStringMethod();
350 TestInterface? nullableTestInterfaceMethod(); 350 TestInterface? nullableTestInterfaceMethod();
351 sequence<long>? nullableLongSequenceMethod(); 351 sequence<long>? nullableLongSequenceMethod();
352 // Union types 352 // Union types
353 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod(); 353 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod();
354 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod(); 354 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod();
355 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod(); 355 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod();
356 (TestInterface or long) testInterfaceOrLongMethod(); 356 (TestInterface or long) testInterfaceOrLongMethod();
357 void voidMethodDOMStringOrDouble((DOMString or double) arg); 357 void voidMethodDOMStringOrDouble((DOMString or double) arg);
358 void voidMethodDOMStringOrArrayBufferOrArrayBufferView((DOMString or ArrayBu ffer or ArrayBufferView) arg);
358 // Currently only used on interface type arguments 359 // Currently only used on interface type arguments
359 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg); 360 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg);
360 // Callback interface types 361 // Callback interface types
361 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg); 362 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg);
362 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg); 363 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg);
363 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg); 364 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg);
364 // Enumerations 365 // Enumerations
365 TestEnum testEnumMethod(); 366 TestEnum testEnumMethod();
366 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 367 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
367 // Exceptional types 368 // Exceptional types
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 555 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
555 [ImplementedInPrivateScript] attribute short shortAttribute; 556 [ImplementedInPrivateScript] attribute short shortAttribute;
556 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 557 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
557 [ImplementedInPrivateScript] attribute Node nodeAttribute; 558 [ImplementedInPrivateScript] attribute Node nodeAttribute;
558 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 559 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
559 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 560 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
560 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 561 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
561 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 562 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
562 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 563 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
563 }; 564 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698