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.
6 /* Tests for interface */
8 /* OK Interface(Interface1) */
10 /* OK Member(OneParam) */
12 /* OK Param(resource) */
13 [in] PP_Resource resource
);
15 /* OK Member(TwoParam) */
17 /* OK Param(instance) */
18 [in] PP_Instance instance
,
22 /* OK Member(ThreeParam) */
24 /* OK Param(graphics_2d) */
25 [in] PP_Resource graphics_2d
,
28 /* OK Param(is_always_opaque) */
29 [out] PP_Bool is_always_opaque
);
31 /* OK Member(ReturnArray) */
32 PP_Resource
[] ReturnArray
();
36 /* OK Interface(Interface2) */
37 interface Interface2
{
38 /* OK Member(OneParam) */
40 /* OK Param(resource) */
41 [in] PP_Resource resource
);
43 /* OK Member(TwoParam) */
45 /* OK Param(instance) */
46 [in] PP_Instance instance
,
48 /* FAIL Missing argument. */
51 /* OK Member(ThreeParam) */
53 /* OK Param(graphics_2d) */
54 [in] PP_Resource graphics_2d
,
55 /* FAIL Unexpected "," after symbol PP_Size. */
57 /* OK Param(is_always_opaque) */
58 [out] PP_Bool is_always_opaque
);