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

Unified Diff: third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl

Issue 2746713003: bindings: Add support for nested union types (Closed)
Patch Set: Improve documentation Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl
diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl
index aa57e1b4f9734f13acecb1c6a3f78ecb0b9ba5eb..3eca6f314acc096e63c9d95c2429f2b108165ff5 100644
--- a/third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl
+++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl
@@ -45,6 +45,7 @@ typedef (DOMString or double) DOMStringOrDouble;
typedef record<ByteString, long> SomeRecordType;
typedef record<USVString, TestObject> RecordWithOilpanValueType;
typedef (sequence<sequence<ByteString>> or record<ByteString, ByteString>) UnionWithRecord;
+typedef (Node or (sequence<long> or Event) or (XMLHttpRequest or DOMString)? or record<DOMString, (ByteString or NodeList)>) NestedUnionType;
[
Constructor(String stringArg),
@@ -69,4 +70,6 @@ typedef (sequence<sequence<ByteString>> or record<ByteString, ByteString>) Union
void methodTakingOilpanValueRecord(RecordWithOilpanValueType arg);
double unionWithRecordMethod(UnionWithRecord arg);
record<DOMString, boolean> methodThatReturnsRecord();
+
+ void voidMethodNestedUnionType(NestedUnionType arg);
};

Powered by Google App Engine
This is Rietveld 408576698