| 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 name1, | 10 name1, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 static void function18(Callback7 cb); | 76 static void function18(Callback7 cb); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 interface Events { | 79 interface Events { |
| 80 static void onFoo1(); | 80 static void onFoo1(); |
| 81 static void onFoo2(long x); | 81 static void onFoo2(long x); |
| 82 static void onFoo2(MyType1 arg); | 82 static void onFoo2(MyType1 arg); |
| 83 static void onFoo3(EnumType type); | 83 static void onFoo3(EnumType type); |
| 84 }; | 84 }; |
| 85 }; | 85 }; |
| OLD | NEW |