OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium 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 | 5 |
6 /* From dev/ppp_printing_dev.idl modified Wed Jun 13 09:20:40 2012. */ | 6 /* From dev/ppp_printing_dev.idl modified Wed Jun 13 09:20:40 2012. */ |
7 | 7 |
8 #ifndef PPAPI_C_DEV_PPP_PRINTING_DEV_H_ | 8 #ifndef PPAPI_C_DEV_PPP_PRINTING_DEV_H_ |
9 #define PPAPI_C_DEV_PPP_PRINTING_DEV_H_ | 9 #define PPAPI_C_DEV_PPP_PRINTING_DEV_H_ |
10 | 10 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 PP_Instance instance, | 73 PP_Instance instance, |
74 const struct PP_PrintPageNumberRange_Dev* page_ranges, | 74 const struct PP_PrintPageNumberRange_Dev* page_ranges, |
75 uint32_t page_range_count); | 75 uint32_t page_range_count); |
76 /** Ends the print session. Further calls to PrintPages will fail. */ | 76 /** Ends the print session. Further calls to PrintPages will fail. */ |
77 void (*End)(PP_Instance instance); | 77 void (*End)(PP_Instance instance); |
78 /** | 78 /** |
79 * Returns true if the current content should be printed into the full page | 79 * Returns true if the current content should be printed into the full page |
80 * and not scaled down to fit within the printer's printable area. | 80 * and not scaled down to fit within the printer's printable area. |
81 */ | 81 */ |
82 PP_Bool (*IsScalingDisabled)(PP_Instance instance); | 82 PP_Bool (*IsScalingDisabled)(PP_Instance instance); |
| 83 /** |
| 84 * Returns the number of copies to be printed. |
| 85 */ |
| 86 int32_t (*NumCopies)(PP_Instance instance); |
83 }; | 87 }; |
84 | 88 |
85 typedef struct PPP_Printing_Dev_0_6 PPP_Printing_Dev; | 89 typedef struct PPP_Printing_Dev_0_6 PPP_Printing_Dev; |
86 /** | 90 /** |
87 * @} | 91 * @} |
88 */ | 92 */ |
89 | 93 |
90 #endif /* PPAPI_C_DEV_PPP_PRINTING_DEV_H_ */ | 94 #endif /* PPAPI_C_DEV_PPP_PRINTING_DEV_H_ */ |
91 | 95 |
OLD | NEW |