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

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

Issue 680193003: IDL: Generate union type containers (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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg); 345 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg);
346 void voidMethodSequenceSequenceDOMStringArg(sequence<sequence<DOMString>> st ringSequenceSequenceArg); 346 void voidMethodSequenceSequenceDOMStringArg(sequence<sequence<DOMString>> st ringSequenceSequenceArg);
347 // Nullable types 347 // Nullable types
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 (sequence<long> or DOMString[] or unrestricted double) longSequenceOrDOMStri ngArrayOrUnrestrictedDoubleMethod(); 355 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod();
356 (TestInterface or long) testInterfaceOrLongMethod();
356 // Currently only used on interface type arguments 357 // Currently only used on interface type arguments
357 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg); 358 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg);
358 // Callback interface types 359 // Callback interface types
359 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg); 360 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg);
360 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg); 361 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg);
361 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg); 362 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg);
362 // Enumerations 363 // Enumerations
363 TestEnum testEnumMethod(); 364 TestEnum testEnumMethod();
364 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 365 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
365 // Exceptional types 366 // Exceptional types
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 553 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
553 [ImplementedInPrivateScript] attribute short shortAttribute; 554 [ImplementedInPrivateScript] attribute short shortAttribute;
554 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 555 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
555 [ImplementedInPrivateScript] attribute Node nodeAttribute; 556 [ImplementedInPrivateScript] attribute Node nodeAttribute;
556 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 557 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
557 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 558 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
558 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 559 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
559 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 560 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
560 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 561 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
561 }; 562 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698