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

Side by Side Diff: mojo/public/interfaces/bindings/tests/sample_import2.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 import "sample_import.mojom";
10
11 // This sample adds more types and constants to the "imported" namespace,
12 // to test a bug with importing multiple modules with the same namespace.
13
14 enum Color {
15 RED,
16 BLACK,
17 };
18
19 struct Size {
20 int32 width;
21 int32 height;
22 };
23
24 struct Thing {
25 imported.Shape shape = RECTANGLE;
26 Color color = Color.BLACK;
27 Point location;
28 Size size;
29 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698