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

Side by Side Diff: tools/json_schema_compiler/test/idl_basics.idl

Issue 39113003: Docserver: Display enum value descriptions in API docs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « tools/json_schema_compiler/model.py ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Tests a variety of basic API definition features. 5 // Tests a variety of basic API definition features.
6 6
7 [internal] namespace idl_basics { 7 [internal] namespace idl_basics {
8 // Enum description 8 // Enum description
9 enum EnumType { 9 enum EnumType {
10 // comment1
10 name1, 11 name1,
11 name2 12 name2
12 }; 13 };
13 14
14 [nodoc] enum EnumTypeWithNoDoc { 15 [nodoc] enum EnumTypeWithNoDoc {
15 name1, 16 name1,
16 name2 17 name2
17 }; 18 };
18 19
19 dictionary MyType1 { 20 dictionary MyType1 {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 static void function18(Callback7 cb); 82 static void function18(Callback7 cb);
82 }; 83 };
83 84
84 interface Events { 85 interface Events {
85 static void onFoo1(); 86 static void onFoo1();
86 static void onFoo2(long x); 87 static void onFoo2(long x);
87 static void onFoo2(MyType1 arg); 88 static void onFoo2(MyType1 arg);
88 static void onFoo3(EnumType type); 89 static void onFoo3(EnumType type);
89 }; 90 };
90 }; 91 };
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/model.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698