Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ppapi / generators / test_version / versions.idl
blob4d1a42fc13d232a32dd4a3bcd1a5f5c8516c09ee
1 /* Copyright (c) 2011 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.
4 */
6 /* File Comment. */
8 label Chrome {
9 M13 = 0.0,
10 M14 = 1.0,
11 M15 = 2.0
14 describe {
15 int32_t;
18 /*REL: M13 M15 */
19 [version=0.0]
20 interface iFoo {
21 /**
22 * Comment for function x
24 [version=0.0] int32_t Bar([in] int32_t x);
25 /**
26 * Comment for function x,y,z
28 [version=2.0] int32_t Bar([in] int32_t x, [in] int32_t y, [in] int32_t z);
32 /*REL: M13 M15 */
33 [version=0.0]
34 struct iBar {
35 /**
36 * Comment for function x
38 [version=0.0] iFoo x;
41 /*REL: M13 M14 M15 */
42 [version=0.0]
43 struct iX {
44 /**
45 * Comment for function x
47 [version=0.0] iFoo x;
48 /**
49 * Comment for member y
51 [version=1.0] int32_t y;
55 /**
56 * Typedef to generate M13-M14, M15
58 typedef int32_t callback_t([in] int32_t x, [in, version=2.0] int32_t y);
60 /*REL: M13 M14 M15 */
61 interface iFooX {
62 /**
63 * Comment for function Bar
65 int32_t Bar([in, version=1.0] callback_t cb);