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
3 // found in the LICENSE file.
5 // Tests a valid IDL file.
17 callback Callback1 = void();
18 callback Callback2 = void(long x);
19 callback Callback3 = void(MyType1 arg);
20 callback Callback4 = void(EnumType type);
23 static void function1();
24 static void function2(long x);
25 static void function3(MyType1 arg);
26 static void function4(Callback1 cb);
27 static void function5(Callback2 cb);
28 static void function6(Callback3 cb);
29 static void function7(Callback4 cb);
34 static void onFoo2(long x);
35 static void onFoo2(MyType1 arg);
36 static void onFoo3(EnumType type);