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

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

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 [JavaPackage="org.chromium.mojo.bindings.test.mojom.imported"]
6 module imported;
7
8 // This sample just defines some types that are imported into
9 // sample_service.mojom, to show how import works.
10
11 enum Shape {
12 RECTANGLE = 1,
13 CIRCLE,
14 TRIANGLE,
15 LAST = TRIANGLE,
16 };
17
18 // These enum values should not interfere with those of Shape above.
19 enum AnotherShape {
20 RECTANGLE = 10,
21 CIRCLE,
22 TRIANGLE,
23 };
24
25 enum YetAnotherShape {
26 RECTANGLE = 20,
27 CIRCLE,
28 TRIANGLE,
29 };
30
31 struct Point {
32 int32 x;
33 int32 y;
34 };
35
36 interface ImportedInterface {
37 DoSomething();
38 };
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