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

Side by Side Diff: mojo/public/interfaces/bindings/mojom_files.mojom

Issue 1433183002: Generate Mojom Types for Dart (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify identifier_store for Go and Dart Created 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 [JavaPackage="org.chromium.mojo.bindings.types"] 5 [DartPackage="mojo", JavaPackage="org.chromium.mojo"]
6 module mojo.bindings.types; 6 // TODO(afandria) Amend this file's module once the Dart embedder packages are
7 // removed. It should be mojo.bindings.types.
8 module mojo;
7 9
8 import "mojom_types.mojom"; 10 import "mojom_types.mojom";
9 11
10 /* 12 /*
11 * The structures in this file are intended to be used by the Mojom compiler 13 * The structures in this file are intended to be used by the Mojom compiler
12 * and code generators. The front end of the compiler takes as input a 14 * and code generators. The front end of the compiler takes as input a
13 * .mojom file (or a list of .mojom files) and produces a MojomFileGraph struct. 15 * .mojom file (or a list of .mojom files) and produces a MojomFileGraph struct.
14 * 16 *
15 * The backend of the compiler consumes a MojomFileGraph and invokes each of the 17 * The backend of the compiler consumes a MojomFileGraph and invokes each of the
16 * code generators passing them data derived from the MojomFileGraph. 18 * code generators passing them data derived from the MojomFileGraph.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 array<string>? structs; 79 array<string>? structs;
78 array<string>? unions; 80 array<string>? unions;
79 array<string>? top_level_enums; 81 array<string>? top_level_enums;
80 array<string>? embedded_enums; 82 array<string>? embedded_enums;
81 83
82 // All the constant_keys known to the owning MojomFileGraph. 84 // All the constant_keys known to the owning MojomFileGraph.
83 array<string>? top_level_constants; 85 array<string>? top_level_constants;
84 array<string>? embedded_constants; 86 array<string>? embedded_constants;
85 }; 87 };
86 88
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698