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

Side by Side Diff: tools/json_schema_compiler/dart_test/events.idl

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This comment is for the events namespace.
5 namespace events { 6 namespace events {
6 dictionary EventArgumentElement { 7 dictionary EventArgumentElement {
7 DOMString elementStringArg; 8 DOMString elementStringArg;
8 }; 9 };
9 10
10 dictionary EventArgument { 11 dictionary EventArgument {
11 // A file entry 12 // A file entry
12 [instanceOf=FileEntry] object entryArg; 13 [instanceOf=FileEntry] object entryArg;
13 14
14 // A string 15 // A string
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // Documentation for an event with an optional primitive argument. 47 // Documentation for an event with an optional primitive argument.
47 static void optionalPrimitiveArgEvent(optional int argument); 48 static void optionalPrimitiveArgEvent(optional int argument);
48 49
49 // Documentation for an event with a non-optional dictionary argument. 50 // Documentation for an event with a non-optional dictionary argument.
50 static void nonOptionalDictArgEvent(EventArgument argument); 51 static void nonOptionalDictArgEvent(EventArgument argument);
51 52
52 // Documentation for an event with a optional dictionary argument. 53 // Documentation for an event with a optional dictionary argument.
53 static void optionalDictArgEvent(EventArgument argument); 54 static void optionalDictArgEvent(EventArgument argument);
54 }; 55 };
55 }; 56 };
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/dart_test/enums.idl ('k') | tools/json_schema_compiler/dart_test/functions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698