Fix the no password save issue for ajax login
[chromium-blink-merge.git] / ppapi / generators / test_parser / interface.idl
blob6b52402db826fc9611a85f5988cd24263b3f87fe
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 interface */
8 /* OK Interface(Interface1) */
9 interface Interface1 {
10 /* OK Member(OneParam) */
11 PP_Bool OneParam(
12 /* OK Param(resource) */
13 [in] PP_Resource resource);
15 /* OK Member(TwoParam) */
16 PP_Resource TwoParam(
17 /* OK Param(instance) */
18 [in] PP_Instance instance,
19 /* OK Param(size) */
20 [in] PP_Size size);
22 /* OK Member(ThreeParam) */
23 PP_Bool ThreeParam(
24 /* OK Param(graphics_2d) */
25 [in] PP_Resource graphics_2d,
26 /* OK Param(size) */
27 [out] PP_Size size,
28 /* OK Param(is_always_opaque) */
29 [out] PP_Bool is_always_opaque);
33 /* OK Interface(Interface2) */
34 interface Interface2 {
35 /* OK Member(OneParam) */
36 PP_Bool OneParam(
37 /* OK Param(resource) */
38 [in] PP_Resource resource);
40 /* OK Member(TwoParam) */
41 PP_Resource TwoParam(
42 /* OK Param(instance) */
43 [in] PP_Instance instance,
44 /* OK Param(size) */
45 /* FAIL Missing argument. */
46 [in] PP_Size size, );
48 /* OK Member(ThreeParam) */
49 PP_Bool ThreeParam(
50 /* OK Param(graphics_2d) */
51 [in] PP_Resource graphics_2d,
52 /* FAIL Unexpected "," after symbol PP_Size. */
53 [out] PP_Size,
54 /* OK Param(is_always_opaque) */
55 [out] PP_Bool is_always_opaque);