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

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

Issue 656073002: IDL: Use ALLOW_ONLY_INLINE_ALLOCATION() in dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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') | Source/modules/encoding/TextDecodeOptions.idl » ('j') | 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 dictionary InternalDictionary {
8 GarbageCollected
9 ] dictionary InternalDictionary {
10 long longMember; 8 long longMember;
11 long longMemberWithDefault = 42; 9 long longMemberWithDefault = 42;
12 long? longOrNullMember; 10 long? longOrNullMember;
13 long? longOrNullMemberWithDefault = null; 11 long? longOrNullMemberWithDefault = null;
14 boolean booleanMember; 12 boolean booleanMember;
15 double doubleMember; 13 double doubleMember;
16 DOMString stringMember; 14 DOMString stringMember;
17 DOMString stringMemberWithDefault = "defaultStringValue"; 15 DOMString stringMemberWithDefault = "defaultStringValue";
18 sequence<DOMString> stringSequenceMember; 16 sequence<DOMString> stringSequenceMember;
19 sequence<DOMString>? stringSequenceOrNullMember; 17 sequence<DOMString>? stringSequenceOrNullMember;
20 InternalEnum enumMember; 18 InternalEnum enumMember;
21 InternalEnum enumMemberWithDefault = "foo"; 19 InternalEnum enumMemberWithDefault = "foo";
22 InternalEnum? enumOrNullMember; 20 InternalEnum? enumOrNullMember;
23 Element elementMember; 21 Element elementMember;
24 Element? elementOrNullMember; 22 Element? elementOrNullMember;
25 object objectMember; 23 object objectMember;
26 object? objectOrNullMemberWithDefault = null; 24 object? objectOrNullMemberWithDefault = null;
27 }; 25 };
OLDNEW
« no previous file with comments | « Source/core/testing/DictionaryTest.cpp ('k') | Source/modules/encoding/TextDecodeOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698