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..c8a68a110d1763140a5ac346fac9e5ee0b785204 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,18 @@ 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); |
}; |