| OLD | NEW | 
|   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 "sample_import.mojom" |   5 import "sample_import.mojom" | 
|   6 import "sample_import2.mojom" |   6 import "sample_import2.mojom" | 
|   7  |   7  | 
|   8 module sample { |   8 module sample { | 
|   9  |   9  | 
|  10 struct Bar { |  10 struct Bar { | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
|  27   int32 y @1; |  27   int32 y @1; | 
|  28   bool a = true @2; |  28   bool a = true @2; | 
|  29   bool b @3; |  29   bool b @3; | 
|  30   bool c @4; |  30   bool c @4; | 
|  31   Bar bar @5; |  31   Bar bar @5; | 
|  32   Bar[] extra_bars @7; |  32   Bar[] extra_bars @7; | 
|  33   uint8[] data = [1,2,3] @6; |  33   uint8[] data = [1,2,3] @6; | 
|  34   handle<message_pipe> source @9; |  34   handle<message_pipe> source @9; | 
|  35   handle<data_pipe_consumer>[] input_streams @10; |  35   handle<data_pipe_consumer>[] input_streams @10; | 
|  36   handle<data_pipe_producer>[] output_streams @11; |  36   handle<data_pipe_producer>[] output_streams @11; | 
 |  37   bool[][] array_of_array_of_bools @12; | 
|  37 }; |  38 }; | 
|  38  |  39  | 
|  39 struct DefaultsTestInner { |  40 struct DefaultsTestInner { | 
|  40   int32 age @2; |  41   int32 age @2; | 
|  41   string[] names = ["Jim"] @1; |  42   string[] names = ["Jim"] @1; | 
|  42   int32 height = 6*12 @3; |  43   int32 height = 6*12 @3; | 
|  43 }; |  44 }; | 
|  44  |  45  | 
|  45 struct DefaultsTest { |  46 struct DefaultsTest { | 
|  46   sample.DefaultsTestInner[] people = [{32, ["Bob", "Bobby"]}] @1; |  47   sample.DefaultsTestInner[] people = [{32, ["Bob", "Bobby"]}] @1; | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
|  65   DidFrobinate@0(int32 result @0); |  66   DidFrobinate@0(int32 result @0); | 
|  66 }; |  67 }; | 
|  67  |  68  | 
|  68 // This interface is referenced above where it is defined. It also refers to |  69 // This interface is referenced above where it is defined. It also refers to | 
|  69 // itself from a method. |  70 // itself from a method. | 
|  70 interface Port { |  71 interface Port { | 
|  71   PostMessage@0(string message_text @0, Port[] extra_ports@1); |  72   PostMessage@0(string message_text @0, Port[] extra_ports@1); | 
|  72 }; |  73 }; | 
|  73  |  74  | 
|  74 } |  75 } | 
| OLD | NEW |