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

Side by Side Diff: bindings/tests/idls/core/TestDictionary.idl

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
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
5 enum TestEnum { "foo", "bar", "baz" };
6
4 [ 7 [
5 GarbageCollected, 8 GarbageCollected,
6 ] dictionary TestDictionary { 9 ] dictionary TestDictionary {
7 boolean booleanMember; 10 boolean booleanMember;
8 long longMember = 1; 11 long longMember = 1;
9 DOMString stringMember; 12 DOMString stringMember;
10 TestInterface testInterfaceMember; 13 TestInterface testInterfaceMember;
11 double? doubleOrNullMember = null; 14 double? doubleOrNullMember = null;
12 DOMString? stringOrNullMember = "default string value"; 15 DOMString? stringOrNullMember = "default string value";
13 TestInterface? testInterfaceOrNullMember; 16 TestInterface? testInterfaceOrNullMember;
14 TestInterfaceGarbageCollected testInterfaceGarbageCollectedMember; 17 TestInterfaceGarbageCollected testInterfaceGarbageCollectedMember;
15 TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNullMember; 18 TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNullMember;
16 TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageCollectedMembe r; 19 TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageCollectedMembe r;
17 TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCollectedOrNu llMember; 20 TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCollectedOrNu llMember;
18 DOMString[] stringArrayMember; 21 DOMString[] stringArrayMember;
19 sequence<DOMString> stringSequenceMember; 22 sequence<DOMString> stringSequenceMember;
23 TestEnum enumMember = "foo";
24 Element? elementOrNullMember;
25 object objectMember;
26 object? objectOrNullMember;
20 }; 27 };
OLDNEW
« no previous file with comments | « bindings/tests/idls/core/TestCallbackInterface.idl ('k') | bindings/tests/idls/core/TestException.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698