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

Side by Side Diff: mojo/public/interfaces/bindings/tests/sample_import.mojom

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 [DartPackage="_mojo_for_test_only",
6 JavaPackage="org.chromium.mojo.bindings.test.mojom.imported"]
7 module imported;
8
9 // This sample just defines some types that are imported into
10 // sample_service.mojom, to show how import works.
11
12 enum Shape {
13 RECTANGLE = 1,
14 CIRCLE,
15 TRIANGLE,
16 LAST = TRIANGLE,
17 };
18
19 // These enum values should not interfere with those of Shape above.
20 enum AnotherShape {
21 RECTANGLE = 10,
22 CIRCLE,
23 TRIANGLE,
24 };
25
26 enum YetAnotherShape {
27 RECTANGLE = 20,
28 CIRCLE,
29 TRIANGLE,
30 };
31
32 struct Point {
33 int32 x;
34 int32 y;
35 };
36
37 interface ImportedInterface {
38 DoSomething();
39 };
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/tests/sample_factory.mojom ('k') | mojo/public/interfaces/bindings/tests/sample_import2.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698