Chromium Code Reviews| Index: src/shared/ppapi_proxy/ppb_graphics_2d.srpc |
| =================================================================== |
| --- src/shared/ppapi_proxy/ppb_graphics_2d.srpc (revision 4034) |
| +++ src/shared/ppapi_proxy/ppb_graphics_2d.srpc (working copy) |
| @@ -8,21 +8,21 @@ |
| 'name': 'PpbGraphics2DRpc', |
| 'rpcs': [ |
| {'name': 'PPB_Graphics2D_Create', |
| - 'inputs': [['module', 'int64_t'], |
| + 'inputs': [['module', 'PP_Module'], |
| ['size', 'int32_t[]'], |
| ['is_always_opaque', 'int32_t'], |
|
polina
2010/12/23 23:41:23
['is_always_opaque', 'PP_Bool'],
|
| ], |
| - 'outputs': [['resource', 'int64_t'], |
| + 'outputs': [['resource', 'PP_Resource'], |
| ] |
| }, |
| {'name': 'PPB_Graphics2D_IsGraphics2D', |
| - 'inputs': [['resource', 'int64_t'], |
| + 'inputs': [['resource', 'PP_Resource'], |
| ], |
| 'outputs': [['success', 'int32_t'], |
|
polina
2010/12/23 23:41:23
'outputs': [['is_graphics2d', 'PP_Bool'],
|
| ] |
| }, |
| {'name': 'PPB_Graphics2D_Describe', |
| - 'inputs': [['graphics_2d', 'int64_t'], |
| + 'inputs': [['graphics_2d', 'PP_Resource'], |
| ], |
| 'outputs': [['size', 'int32_t[]'], |
| ['is_always_opaque', 'int32_t'], |
|
polina
2010/12/23 23:41:23
['is_always_opaque', 'PP_Bool'],
|
| @@ -30,23 +30,23 @@ |
| ] |
| }, |
| {'name': 'PPB_Graphics2D_PaintImageData', |
| - 'inputs': [['graphics_2d', 'int64_t'], |
| - ['image', 'int64_t'], |
| + 'inputs': [['graphics_2d', 'PP_Resource'], |
| + ['image', 'PP_Resource'], |
| ['top_left', 'int32_t[]'], |
| ['src_rect', 'int32_t[]'], |
| ], |
| 'outputs': [] |
| }, |
| {'name': 'PPB_Graphics2D_Scroll', |
| - 'inputs': [['graphics_2d', 'int64_t'], |
| + 'inputs': [['graphics_2d', 'PP_Resource'], |
| ['clip_rect', 'int32_t[]'], |
| ['amount', 'int32_t[]'], |
| ], |
| 'outputs': [] |
| }, |
| {'name': 'PPB_Graphics2D_ReplaceContents', |
| - 'inputs': [['graphics_2d', 'int64_t'], |
| - ['image', 'int64_t'], |
| + 'inputs': [['graphics_2d', 'PP_Resource'], |
| + ['image', 'PP_Resource'], |
| ], |
| 'outputs': [] |
| }, |