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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppp_printing.srpc

Issue 7718004: ppapi: Make 0.4 the default for PPP_Printing_Dev, leave backwards-compat (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate NaCl proxy changes Created 9 years, 3 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
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2011 The Native Client 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 # RPC methods used to implement PPP_Printing calls to the plugin. 5 # RPC methods used to implement PPP_Printing calls to the plugin.
6 # See ppapi/c/dev/ppp_printing_dev.h for interface details. 6 # See ppapi/c/dev/ppp_printing_dev.h for interface details.
7 { 7 {
8 'name': 'PppPrintingRpc', 8 'name': 'PppPrintingRpc',
9 'rpcs': [ 9 'rpcs': [
10 {'name': 'PPP_Printing_QuerySupportedFormats', 10 {'name': 'PPP_Printing_QuerySupportedFormats',
11 'inputs': [['instance', 'PP_Instance'], 11 'inputs': [['instance', 'PP_Instance'],
12 ], 12 ],
13 'outputs': [['formats', 'char[]'], # PP_PrintOutputFormat_Dev array 13 'outputs': [['formats', 'int32_t'], # uint32_t
14 ['format_count', 'int32_t'], # uint32_t
15 ] 14 ]
16 }, 15 },
17 {'name': 'PPP_Printing_Begin', 16 {'name': 'PPP_Printing_Begin',
18 'inputs': [['instance', 'PP_Instance'], 17 'inputs': [['instance', 'PP_Instance'],
19 ['print_settings', 'char[]'], # PP_PrintSettings_Dev 18 ['print_settings', 'char[]'], # PP_PrintSettings_Dev
20 ], 19 ],
21 'outputs': [['pages_required', 'int32_t'], 20 'outputs': [['pages_required', 'int32_t'],
22 ] 21 ]
23 }, 22 },
24 {'name': 'PPP_Printing_PrintPages', 23 {'name': 'PPP_Printing_PrintPages',
25 'inputs': [['instance', 'PP_Instance'], 24 'inputs': [['instance', 'PP_Instance'],
26 ['page_ranges', 'char[]'], # PP_PrintPageNumberRange_ Dev 25 ['page_ranges', 'char[]'], # PP_PrintPageNumberRange_ Dev
27 ['page_range_count', 'int32_t'], # uint32_t 26 ['page_range_count', 'int32_t'], # uint32_t
28 ], 27 ],
29 'outputs': [['image_data', 'PP_Resource'], 28 'outputs': [['image_data', 'PP_Resource'],
30 ] 29 ]
31 }, 30 },
32 {'name': 'PPP_Printing_End', 31 {'name': 'PPP_Printing_End',
33 'inputs': [['instance', 'PP_Instance'], 32 'inputs': [['instance', 'PP_Instance'],
34 ], 33 ],
35 'outputs': [ 34 'outputs': [
36 ] 35 ]
37 }, 36 },
38 ] 37 ]
39 } 38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698