Chromium Code Reviews| Index: ppapi/api/dev/ppb_printing_dev.idl |
| diff --git a/ppapi/api/dev/ppb_printing_dev.idl b/ppapi/api/dev/ppb_printing_dev.idl |
| index 60239d2f7d88d7568eecc1bd482edc003dc6be58..dd4bb882adceeb8912a46c49724983a939678a2b 100644 |
| --- a/ppapi/api/dev/ppb_printing_dev.idl |
| +++ b/ppapi/api/dev/ppb_printing_dev.idl |
| @@ -11,7 +11,8 @@ |
| // Note: This version should always match the PPP_Printing_Dev interface. |
| label Chrome { |
| - M23 = 0.7 |
| + M23 = 0.7, |
| + M39 = 0.8 |
| }; |
| interface PPB_Printing_Dev { |
| @@ -41,4 +42,17 @@ interface PPB_Printing_Dev { |
| int32_t GetDefaultPrintSettings([in] PP_Resource resource, |
| [out] PP_PrintSettings_Dev print_settings, |
| [in] PP_CompletionCallback callback); |
| + |
| + /** |
| + * Sets the print preset options in print preview dialog based on properties |
| + * set in the source pdf document. |
| + * |
| + * @param[in] resource The printing resource. |
| + * |
| + * @param[in] print_options The print preset options set in |
| + * <code>PP_PrintPresetOptions_Dev</code>. |
| + */ |
| + [version=0.8] |
| + void SetPrintPresetOptionsFromDocument([in] PP_Resource resource, |
| + [in] PP_PrintPresetOptions_Dev print_options); |
|
Vitaly Buka (NO REVIEWS)
2014/09/03 21:36:24
long line
|
| }; |