| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Tests a variety of basic API definition features. | 5 // Tests a variety of basic API definition features. |
| 6 | 6 |
| 7 [internal] namespace idl_basics { | 7 [internal] namespace idl_basics { |
| 8 // Enum description | 8 // Enum description |
| 9 enum EnumType { | 9 enum EnumType { |
| 10 // comment1 | 10 // comment1 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 static void function23( | 93 static void function23( |
| 94 idl_other_namespace.sub_namespace.AnotherType[] values); | 94 idl_other_namespace.sub_namespace.AnotherType[] values); |
| 95 | 95 |
| 96 static long function24(); | 96 static long function24(); |
| 97 static MyType1 function25(); | 97 static MyType1 function25(); |
| 98 static MyType1[] function26(); | 98 static MyType1[] function26(); |
| 99 static EnumType function27(); | 99 static EnumType function27(); |
| 100 static EnumType[] function28(); | 100 static EnumType[] function28(); |
| 101 static idl_other_namespace.SomeType function29(); | 101 static idl_other_namespace.SomeType function29(); |
| 102 static idl_other_namespace.SomeType[] function30(); | 102 static idl_other_namespace.SomeType[] function30(); |
| 103 |
| 104 [nodefine] static void function31(long switch); |
| 103 }; | 105 }; |
| 104 | 106 |
| 105 interface Events { | 107 interface Events { |
| 106 static void onFoo1(); | 108 static void onFoo1(); |
| 107 static void onFoo2(long x); | 109 static void onFoo2(long x); |
| 108 static void onFoo2(MyType1 arg); | 110 static void onFoo2(MyType1 arg); |
| 109 static void onFoo3(EnumType type); | 111 static void onFoo3(EnumType type); |
| 110 }; | 112 }; |
| 111 }; | 113 }; |
| OLD | NEW |