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

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

Issue 561633003: IDL: Enumerations support in dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove parens Created 6 years, 3 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/dictionary_v8.cpp ('k') | Source/bindings/tests/results/core/TestDictionary.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/core/TestDictionary.idl
diff --git a/Source/bindings/tests/idls/core/TestDictionary.idl b/Source/bindings/tests/idls/core/TestDictionary.idl
index a05f0b8432d75cb00a12a716e604feae1b2401cb..8139b077152875300502b8c9bc9cf8705adf1255 100644
--- a/Source/bindings/tests/idls/core/TestDictionary.idl
+++ b/Source/bindings/tests/idls/core/TestDictionary.idl
@@ -1,6 +1,9 @@
// 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.
+
+enum TestEnum { "foo", "bar", "baz" };
+
[
GarbageCollected,
] dictionary TestDictionary {
@@ -17,4 +20,5 @@
TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCollectedOrNullMember;
DOMString[] stringArrayMember;
sequence<DOMString> stringSequenceMember;
+ TestEnum enumMember = "foo";
};
« no previous file with comments | « Source/bindings/templates/dictionary_v8.cpp ('k') | Source/bindings/tests/results/core/TestDictionary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698