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

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: sequence and array support 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
« no previous file with comments | « Source/bindings/templates/templates.gypi ('k') | Source/bindings/tests/idls/TestObject.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3ce775f5e1bf2f51b0e5bc9e539e547a683e35e9
--- /dev/null
+++ b/Source/bindings/tests/idls/TestDictionary.idl
@@ -0,0 +1,18 @@
+// 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;
+ boolean? booleanOrNullMember = null;
+ TestInterface? testInterfaceOrNullMember;
+ DOMString? stringOrNullMember;
+ sequence<float> floatSequenceMember;
+ sequence<TestInterface> testInterfaceSequenceSequenceMember;
+ Node[] nodeArrayMember;
+};
« no previous file with comments | « Source/bindings/templates/templates.gypi ('k') | Source/bindings/tests/idls/TestObject.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698