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

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

Issue 954723002: [bindings] Support is_explicit_nullable for method arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing! Created 5 years, 9 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 void voidMethodFloat32ArrayArg(Float32Array float32ArrayArg); 340 void voidMethodFloat32ArrayArg(Float32Array float32ArrayArg);
341 void voidMethodInt32ArrayArg(Int32Array int32ArrayArg); 341 void voidMethodInt32ArrayArg(Int32Array int32ArrayArg);
342 void voidMethodUint8ArrayArg(Uint8Array uint8ArrayArg); 342 void voidMethodUint8ArrayArg(Uint8Array uint8ArrayArg);
343 // Arrays 343 // Arrays
344 long[] longArrayMethod(); 344 long[] longArrayMethod();
345 DOMString[] stringArrayMethod(); 345 DOMString[] stringArrayMethod();
346 TestInterfaceEmpty[] testInterfaceEmptyArrayMethod(); 346 TestInterfaceEmpty[] testInterfaceEmptyArrayMethod();
347 void voidMethodArrayLongArg(long[] arrayLongArg); 347 void voidMethodArrayLongArg(long[] arrayLongArg);
348 void voidMethodArrayStringArg(DOMString[] arrayStringArg); 348 void voidMethodArrayStringArg(DOMString[] arrayStringArg);
349 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte rfaceEmptyArg); 349 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte rfaceEmptyArg);
350 void voidMethodNullableArrayLongArg(long[]? arrayLongArg);
350 // Sequences 351 // Sequences
351 sequence<long> longSequenceMethod(); 352 sequence<long> longSequenceMethod();
352 sequence<DOMString> stringSequenceMethod(); 353 sequence<DOMString> stringSequenceMethod();
353 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod(); 354 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod();
354 void voidMethodSequenceLongArg(sequence<long> longSequenceArg); 355 void voidMethodSequenceLongArg(sequence<long> longSequenceArg);
355 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg); 356 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg);
356 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg); 357 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg);
357 void voidMethodSequenceSequenceDOMStringArg(sequence<sequence<DOMString>> st ringSequenceSequenceArg); 358 void voidMethodSequenceSequenceDOMStringArg(sequence<sequence<DOMString>> st ringSequenceSequenceArg);
359 void voidMethodNullableSequenceLongArg(sequence<long>? longSequenceArg);
358 // Nullable types 360 // Nullable types
359 long? nullableLongMethod(); 361 long? nullableLongMethod();
360 DOMString? nullableStringMethod(); 362 DOMString? nullableStringMethod();
361 TestInterface? nullableTestInterfaceMethod(); 363 TestInterface? nullableTestInterfaceMethod();
362 sequence<long>? nullableLongSequenceMethod(); 364 sequence<long>? nullableLongSequenceMethod();
363 // Union types 365 // Union types
364 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod(); 366 (TestInterfaceGarbageCollected or DOMString) testInterfaceGarbageCollectedOr DOMStringMethod();
365 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod(); 367 (TestInterfaceWillBeGarbageCollected or TestDictionary) testInterfaceWillBeG arbageCollectedOrTestDictionaryMethod();
366 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod(); 368 (boolean or DOMString or unrestricted double) booleanOrDOMStringOrUnrestrict edDoubleMethod();
367 (TestInterface or long) testInterfaceOrLongMethod(); 369 (TestInterface or long) testInterfaceOrLongMethod();
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 583 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
582 [ImplementedInPrivateScript] attribute Node nodeAttribute; 584 [ImplementedInPrivateScript] attribute Node nodeAttribute;
583 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 585 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
584 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 586 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
585 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 587 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
586 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 588 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
587 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 589 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
588 590
589 maplike<long, DOMStringOrDouble>; 591 maplike<long, DOMStringOrDouble>;
590 }; 592 };
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