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

Unified Diff: src/shared/ppapi_proxy/ppb_graphics_2d.srpc

Issue 5974006: Convert srpc definitions from using int64 to using PP_Instance, PP_Module, an... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 10 years 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 side-by-side diff with in-line comments
Download patch
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': []
},

Powered by Google App Engine
This is Rietveld 408576698