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

Unified Diff: Source/bindings/tests/idls/TestObjectPython.idl

Issue 47023015: IDL compiler: [Default] arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/idls/TestObjectPython.idl
diff --git a/Source/bindings/tests/idls/TestObjectPython.idl b/Source/bindings/tests/idls/TestObjectPython.idl
index e7605a12b01253764f48c295566f1176e2af2652..f0a954c2aeb36132a6a3d4b4be6f70c31d060ed1 100644
--- a/Source/bindings/tests/idls/TestObjectPython.idl
+++ b/Source/bindings/tests/idls/TestObjectPython.idl
@@ -284,5 +284,12 @@ interface TestObjectPython {
void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmptyArgs);
// Extended attributes
- void voidMethodClampUnsignedShortArgClampUnsignedLongArg([Clamp] unsigned short clampUnsignedShortArg, [Clamp] unsigned long clampUnsignedLongArg);
+ // [Clamp]
+ void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedShortArg);
+ void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongArg);
+ // [Default]
+ void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] optional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg);
+ void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long defaultUndefinedLongArg);
+ void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMString defaultUndefinedStringArg);
+ void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMString defaultNullStringStringArg);
};

Powered by Google App Engine
This is Rietveld 408576698