Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1887)

Unified Diff: ppapi/api/dev/ppb_printing_dev.idl

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PPB_Printing_Dev changes Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
};

Powered by Google App Engine
This is Rietveld 408576698