Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ppapi / generators / test_parser / struct.idl
blob22fc40ff9a36819a406c046617519757ff73022a
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 /* Tests for structures */
8 /* OK Struct(S1) */
9 struct S1 {
10 /* OK Member(Mem1) */
11 PP_Bool Mem1;
12 /* OK Member(Mem2) */
13 PP_Resource Mem2;
16 typedef int func([in] int x, [in] int y);
18 /* OK Struct(S2) */
19 struct S2 {
20 /* OK Member(Mem1) */
21 PP_Bool Mem1;
22 /* OK Member(Mem2) */
23 PP_Resource Mem2;
24 /* OK Member(Mem3) */
25 [attr1, attr2] PP_Resource Mem3;
26 /* OK Member(foo) */
27 FuncFoo foo;
30 /* FAIL Struct missing name. */
31 struct {
32 PP_Bool Mem1;
33 PP_Resource Mem2;