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

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

Issue 386963003: [WIP][NotForLand] IDL dictionary support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/idls/TestDictionary.idl
diff --git a/Source/bindings/tests/idls/TestDictionary.idl b/Source/bindings/tests/idls/TestDictionary.idl
new file mode 100644
index 0000000000000000000000000000000000000000..0d56a74fe2ccf7470bf7745604ac24e50166fd88
--- /dev/null
+++ b/Source/bindings/tests/idls/TestDictionary.idl
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+[
+ GarbageCollected,
+] dictionary TestDictionary {
+ boolean booleanMember;
+ long longMember = 1;
+ DOMString stringMember;
+ Node nodeMember;
+ TestInterface testInterfaceMember;
+ // FIXME: Support Nullable.
+ // boolean? booleanOrNullMember;
+ // TestInterface? testInterfaceOrNullMember;
+ // FIXME: Support arrays and sequences.
+ // DOMString[] stringArrayMember;
+ // Node[] nodeArrayMember;
+ // sequence<TestInterface> sequenceTestInterfaceMember;
+};

Powered by Google App Engine
This is Rietveld 408576698