Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Side by Side Diff: ppapi/generators/test_parser/interface.idl

Issue 7272043: Update Lexer/Parser to support '#inline' and 'label' (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/test_parser/enum.idl ('k') | ppapi/generators/test_parser/struct.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* Tests for interface */ 6 /* Tests for interface */
7 7
8 /* OK Interface(Interface_0_1) */ 8 /* OK Interface(Interface1) */
9 interface Interface_0_1 { 9 interface Interface1 {
10 /* OK Function(OneParam) */ 10 /* OK Member(OneParam) */
11 PP_Bool OneParam( 11 PP_Bool OneParam(
12 /* OK Param(resource) */ 12 /* OK Param(resource) */
13 [in] PP_Resource resource); 13 [in] PP_Resource resource);
14 14
15 /* OK Function(TwoParam) */ 15 /* OK Member(TwoParam) */
16 PP_Resource TwoParam( 16 PP_Resource TwoParam(
17 /* OK Param(instance) */ 17 /* OK Param(instance) */
18 [in] PP_Instance instance, 18 [in] PP_Instance instance,
19 /* OK Param(size) */ 19 /* OK Param(size) */
20 [in] PP_Size size); 20 [in] PP_Size size);
21 21
22 /* OK Function(ThreeParam) */ 22 /* OK Member(ThreeParam) */
23 PP_Bool ThreeParam( 23 PP_Bool ThreeParam(
24 /* OK Param(graphics_2d) */ 24 /* OK Param(graphics_2d) */
25 [in] PP_Resource graphics_2d, 25 [in] PP_Resource graphics_2d,
26 /* OK Param(size) */ 26 /* OK Param(size) */
27 [out] PP_Size size, 27 [out] PP_Size size,
28 /* OK Param(is_always_opaque) */ 28 /* OK Param(is_always_opaque) */
29 [out] PP_Bool is_always_opaque); 29 [out] PP_Bool is_always_opaque);
30 }; 30 };
31 31
32 32
33 /* OK Interface(Interface_0_2) */ 33 /* OK Interface(Interface2) */
34 interface Interface_0_2 { 34 interface Interface2 {
35 /* OK Function(OneParam) */ 35 /* OK Member(OneParam) */
36 PP_Bool OneParam( 36 PP_Bool OneParam(
37 /* OK Param(resource) */ 37 /* OK Param(resource) */
38 [in] PP_Resource resource); 38 [in] PP_Resource resource);
39 39
40 /* OK Function(TwoParam) */ 40 /* OK Member(TwoParam) */
41 PP_Resource TwoParam( 41 PP_Resource TwoParam(
42 /* OK Param(instance) */ 42 /* OK Param(instance) */
43 [in] PP_Instance instance, 43 [in] PP_Instance instance,
44 /* OK Param(size) */ 44 /* OK Param(size) */
45 /* FAIL Missing argument. */ 45 /* FAIL Missing argument. */
46 [in] PP_Size size, ); 46 [in] PP_Size size, );
47 47
48 /* OK Function(ThreeParam) */ 48 /* OK Member(ThreeParam) */
49 PP_Bool ThreeParam( 49 PP_Bool ThreeParam(
50 /* OK Param(graphics_2d) */ 50 /* OK Param(graphics_2d) */
51 [in] PP_Resource graphics_2d, 51 [in] PP_Resource graphics_2d,
52 /* FAIL Unexpected "," after symbol PP_Size. */ 52 /* FAIL Unexpected "," after symbol PP_Size. */
53 [out] PP_Size, 53 [out] PP_Size,
54 /* OK Param(is_always_opaque) */ 54 /* OK Param(is_always_opaque) */
55 [out] PP_Bool is_always_opaque); 55 [out] PP_Bool is_always_opaque);
56 }; 56 };
OLDNEW
« no previous file with comments | « ppapi/generators/test_parser/enum.idl ('k') | ppapi/generators/test_parser/struct.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698