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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/interfaces/bindings/tests/test_structs.mojom
diff --git a/mojo/public/interfaces/bindings/tests/test_structs.mojom b/mojo/public/interfaces/bindings/tests/test_structs.mojom
index 6c0c429fd585fc588824e880effcd2781061c3c6..66cd2e965efe8c3922c6484715bbc3cec468af0a 100644
--- a/mojo/public/interfaces/bindings/tests/test_structs.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_structs.mojom
@@ -2,16 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+import "mojo/public/interfaces/bindings/tests/rect.mojom"
+
[JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"]
module mojo.test {
-struct Rect {
- int32 x;
- int32 y;
- int32 width;
- int32 height;
-};
-
struct NamedRegion {
string? name;
Rect[]? rects;
« 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