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
);
33 /* OK Interface(Interface2) */
34 interface Interface2
{
35 /* OK Member(OneParam) */
37 /* OK Param(resource) */
38 [in] PP_Resource resource
);
40 /* OK Member(TwoParam) */
42 /* OK Param(instance) */
43 [in] PP_Instance instance
,
45 /* FAIL Missing argument. */
48 /* OK Member(ThreeParam) */
50 /* OK Param(graphics_2d) */
51 [in] PP_Resource graphics_2d
,
52 /* FAIL Unexpected "," after symbol PP_Size. */
54 /* OK Param(is_always_opaque) */
55 [out] PP_Bool is_always_opaque
);