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

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

Issue 409373002: IDL: Binding code generation for dictionaries (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
« 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..3837db23e00eb292f6bd7d809d212eb3a2c9a80c
--- /dev/null
+++ b/Source/bindings/tests/idls/TestDictionary.idl
@@ -0,0 +1,14 @@
+// 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;
+ TestInterface testInterfaceMember;
+ double? doubleOrNullMember = null;
+ DOMString? stringOrNullMember = "default string value";
+ TestInterface? testInterfaceOrNullMember;
+};
« 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