OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # RPC methods used to implement PPP_Printing calls to the plugin. |
| 6 # See ppapi/c/dev/ppp_printing_dev.h for interface details. |
| 7 { |
| 8 'name': 'PppPrintingRpc', |
| 9 'rpcs': [ |
| 10 {'name': 'PPP_Printing_QuerySupportedFormats', |
| 11 'inputs': [['instance', 'PP_Instance'], |
| 12 ], |
| 13 'outputs': [['formats', 'char[]'], # PP_PrintOutputFormat_Dev
array |
| 14 ['format_count', 'int32_t'], # uint32_t |
| 15 ] |
| 16 }, |
| 17 {'name': 'PPP_Printing_Begin', |
| 18 'inputs': [['instance', 'PP_Instance'], |
| 19 ['print_settings', 'char[]'], # PP_PrintSettings_Dev |
| 20 ], |
| 21 'outputs': [['pages_required', 'int32_t'], |
| 22 ] |
| 23 }, |
| 24 {'name': 'PPP_Printing_PrintPages', |
| 25 'inputs': [['instance', 'PP_Instance'], |
| 26 ['page_ranges', 'char[]'], # PP_PrintPageNumberRange_
Dev |
| 27 ['page_range_count', 'int32_t'], # uint32_t |
| 28 ], |
| 29 'outputs': [['image_data', 'PP_Resource'], |
| 30 ] |
| 31 }, |
| 32 {'name': 'PPP_Printing_End', |
| 33 'inputs': [['instance', 'PP_Instance'], |
| 34 ], |
| 35 'outputs': [ |
| 36 ] |
| 37 }, |
| 38 ] |
| 39 } |
OLD | NEW |