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

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

Issue 262633005: Adding attributes to module and struct in mojom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix annotations Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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"]
5 module test_structs { 6 module test_structs {
6 7
7 struct Rect { 8 struct Rect {
8 int32 x; 9 int32 x;
9 int32 y; 10 int32 y;
10 int32 width; 11 int32 width;
11 int32 height; 12 int32 height;
12 }; 13 };
13 14
14 struct NamedRegion { 15 struct NamedRegion {
15 string name; 16 string name;
16 Rect[] rects; 17 Rect[] rects;
17 }; 18 };
18 19
19 } 20 }
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/tests/sample_service.mojom ('k') | mojo/public/tools/bindings/pylib/mojom/generate/data.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698