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

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

Issue 486203003: Mojo JS bindings generator doesn't generate import-qualified struct references (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resync Created 6 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 | 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 import "mojo/public/interfaces/bindings/tests/rect.mojom"
6
5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"] 7 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"]
6 module mojo.test { 8 module mojo.test {
7 9
8 struct Rect {
9 int32 x;
10 int32 y;
11 int32 width;
12 int32 height;
13 };
14
15 struct NamedRegion { 10 struct NamedRegion {
16 string? name; 11 string? name;
17 Rect[]? rects; 12 Rect[]? rects;
18 }; 13 };
19 14
20 struct RectPair { 15 struct RectPair {
21 Rect? first; 16 Rect? first;
22 Rect? second; 17 Rect? second;
23 }; 18 };
24 19
25 struct EmptyStruct { 20 struct EmptyStruct {
26 }; 21 };
27 22
28 } 23 }
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/tests/rect.mojom ('k') | mojo/public/js/bindings/codec_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698