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

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

Issue 385603002: IDL: Support using nullable on any method return type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use_result_local => use_local_result Created 6 years, 5 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
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 void voidMethodArrayStringArg(DOMString[] arrayStringArg); 353 void voidMethodArrayStringArg(DOMString[] arrayStringArg);
354 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte rfaceEmptyArg); 354 void voidMethodArrayTestInterfaceEmptyArg(TestInterfaceEmpty[] arrayTestInte rfaceEmptyArg);
355 // Sequences 355 // Sequences
356 sequence<long> longSequenceMethod(); 356 sequence<long> longSequenceMethod();
357 sequence<DOMString> stringSequenceMethod(); 357 sequence<DOMString> stringSequenceMethod();
358 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod(); 358 sequence<TestInterfaceEmpty> testInterfaceEmptySequenceMethod();
359 void voidMethodSequenceLongArg(sequence<long> longSequenceArg); 359 void voidMethodSequenceLongArg(sequence<long> longSequenceArg);
360 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg); 360 void voidMethodSequenceStringArg(sequence<DOMString> stringSequenceArg);
361 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg); 361 void voidMethodSequenceTestInterfaceEmptyArg(sequence<TestInterfaceEmpty> te stInterfaceEmptySequenceArg);
362 // Nullable types 362 // Nullable types
363 long? nullableLongMethod();
364 DOMString? nullableStringMethod();
365 TestInterface? nullableTestInterfaceMethod();
366 sequence<long>? nullableLongSequenceMethod();
363 // Currently only used on interface type arguments 367 // Currently only used on interface type arguments
364 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg); 368 void voidMethodTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? nullableTestI nterfaceEmptyArg);
365 // Callback interface types 369 // Callback interface types
366 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg); 370 void voidMethodTestCallbackInterfaceArg(TestCallbackInterface testCallbackIn terfaceArg);
367 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg); 371 void voidMethodOptionalTestCallbackInterfaceArg(optional TestCallbackInterfa ce optionalTestCallbackInterfaceArg);
368 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg); 372 void voidMethodTestCallbackInterfaceOrNullArg(TestCallbackInterface? testCal lbackInterfaceArg);
369 // Enumerations 373 // Enumerations
370 TestEnum testEnumMethod(); 374 TestEnum testEnumMethod();
371 void voidMethodTestEnumArg(TestEnum testEnumTypeArg); 375 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
372 // Exceptional types 376 // Exceptional types
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn PrivateScript(short value); 549 [ImplementedInPrivateScript] short shortMethodWithShortArgumentImplementedIn PrivateScript(short value);
546 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme ntedInPrivateScript(DOMString value); 550 [ImplementedInPrivateScript] DOMString stringMethodWithStringArgumentImpleme ntedInPrivateScript(DOMString value);
547 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri vateScript(Node value); 551 [ImplementedInPrivateScript] Node nodeMethodWithNodeArgumentImplementedInPri vateScript(Node value);
548 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string); 552 [ImplementedInPrivateScript] Node nodeMethodWithVariousArgumentsImplementedI nPrivateScript(Document document, Node node, short value1, double value2, DOMStr ing string);
549 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 553 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
550 [ImplementedInPrivateScript] attribute short shortAttribute; 554 [ImplementedInPrivateScript] attribute short shortAttribute;
551 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 555 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
552 [ImplementedInPrivateScript] attribute Node nodeAttribute; 556 [ImplementedInPrivateScript] attribute Node nodeAttribute;
553 557
554 }; 558 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698