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

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

Issue 354833003: Revert 279677 "Generate java bindings for structs." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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.test.mojom.imported"] 5 [JavaPackage="org.chromium.mojo.bindings.test.imported"]
6 module imported { 6 module imported {
7 7
8 // This sample just defines some types that are imported into 8 // This sample just defines some types that are imported into
9 // sample_service.mojom, to show how import works. 9 // sample_service.mojom, to show how import works.
10 10
11 enum Shape { 11 enum Shape {
12 SHAPE_RECTANGLE = 1, 12 SHAPE_RECTANGLE = 1,
13 SHAPE_CIRCLE, 13 SHAPE_CIRCLE,
14 SHAPE_TRIANGLE, 14 SHAPE_TRIANGLE,
15 }; 15 };
16 16
17 struct Point { 17 struct Point {
18 int32 x; 18 int32 x;
19 int32 y; 19 int32 y;
20 }; 20 };
21 21
22 interface ImportedInterface { 22 interface ImportedInterface {
23 }; 23 };
24 24
25 } // module imported 25 } // module imported
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698