Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / common / extensions / api / test_presubmit / valid_idl_basics.idl
blobd0071e11d36d52aae167ce46f7543f50547a784d
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.
7 namespace idl_basics {
8 enum EnumType {
9 name1,
10 name2
13 dictionary MyType1 {
14 DOMString a;
17 callback Callback1 = void();
18 callback Callback2 = void(long x);
19 callback Callback3 = void(MyType1 arg);
20 callback Callback4 = void(EnumType type);
22 interface Functions {
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);
32 interface Events {
33 static void onFoo1();
34 static void onFoo2(long x);
35 static void onFoo2(MyType1 arg);
36 static void onFoo3(EnumType type);