OLD | NEW |
---|---|
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', 'int32_t'], # uint32_t | 13 'outputs': [['formats', 'int32_t'], # uint32_t |
14 ] | 14 ] |
15 }, | 15 }, |
16 {'name': 'PPP_Printing_IsScalingDisabled', | |
17 'inputs': [['instance', 'PP_Instance'], | |
18 ], | |
19 'outputs': [['result', 'bool'], | |
dmichael (off chromium)
2011/09/27 15:28:38
This will be int32_t for PP_Bool (note I'm not hig
vandebo (ex-Chrome)
2011/09/27 20:02:24
Done.
| |
20 ] | |
21 }, | |
16 {'name': 'PPP_Printing_Begin', | 22 {'name': 'PPP_Printing_Begin', |
17 'inputs': [['instance', 'PP_Instance'], | 23 'inputs': [['instance', 'PP_Instance'], |
18 ['print_settings', 'char[]'], # PP_PrintSettings_Dev | 24 ['print_settings', 'char[]'], # PP_PrintSettings_Dev |
19 ], | 25 ], |
20 'outputs': [['pages_required', 'int32_t'], | 26 'outputs': [['pages_required', 'int32_t'], |
21 ] | 27 ] |
22 }, | 28 }, |
23 {'name': 'PPP_Printing_PrintPages', | 29 {'name': 'PPP_Printing_PrintPages', |
24 'inputs': [['instance', 'PP_Instance'], | 30 'inputs': [['instance', 'PP_Instance'], |
25 ['page_ranges', 'char[]'], # PP_PrintPageNumberRange_ Dev | 31 ['page_ranges', 'char[]'], # PP_PrintPageNumberRange_ Dev |
26 ['page_range_count', 'int32_t'], # uint32_t | 32 ['page_range_count', 'int32_t'], # uint32_t |
27 ], | 33 ], |
28 'outputs': [['image_data', 'PP_Resource'], | 34 'outputs': [['image_data', 'PP_Resource'], |
29 ] | 35 ] |
30 }, | 36 }, |
31 {'name': 'PPP_Printing_End', | 37 {'name': 'PPP_Printing_End', |
32 'inputs': [['instance', 'PP_Instance'], | 38 'inputs': [['instance', 'PP_Instance'], |
33 ], | 39 ], |
34 'outputs': [ | 40 'outputs': [ |
35 ] | 41 ] |
36 }, | 42 }, |
37 ] | 43 ] |
38 } | 44 } |
OLD | NEW |