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

Side by Side Diff: Source/core/testing/InternalDictionary.idl

Issue 590443002: IDL: object type support for IDL dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « Source/core/testing/DictionaryTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 enum InternalEnum { "foo", "bar", "baz" }; 5 enum InternalEnum { "foo", "bar", "baz" };
6 6
7 [ 7 [
8 GarbageCollected 8 GarbageCollected
9 ] dictionary InternalDictionary { 9 ] dictionary InternalDictionary {
10 long longMember; 10 long longMember;
11 long longMemberWithDefault = 42; 11 long longMemberWithDefault = 42;
12 long? longOrNullMember; 12 long? longOrNullMember;
13 long? longOrNullMemberWithDefault = null; 13 long? longOrNullMemberWithDefault = null;
14 boolean booleanMember; 14 boolean booleanMember;
15 double doubleMember; 15 double doubleMember;
16 DOMString stringMember; 16 DOMString stringMember;
17 DOMString stringMemberWithDefault = "defaultStringValue"; 17 DOMString stringMemberWithDefault = "defaultStringValue";
18 sequence<DOMString> stringSequenceMember; 18 sequence<DOMString> stringSequenceMember;
19 sequence<DOMString>? stringSequenceOrNullMember; 19 sequence<DOMString>? stringSequenceOrNullMember;
20 InternalEnum enumMember; 20 InternalEnum enumMember;
21 InternalEnum enumMemberWithDefault = "foo"; 21 InternalEnum enumMemberWithDefault = "foo";
22 InternalEnum? enumOrNullMember; 22 InternalEnum? enumOrNullMember;
23 Element elementMember; 23 Element elementMember;
24 Element? elementOrNullMember; 24 Element? elementOrNullMember;
25 object objectMember;
26 object? objectOrNullMemberWithDefault = null;
25 }; 27 };
OLDNEW
« no previous file with comments | « Source/core/testing/DictionaryTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698