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

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: Rebase Created 6 years, 3 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
« no previous file with comments | « ppapi/api/dev/pp_print_settings_dev.idl ('k') | ppapi/c/dev/pp_print_settings_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « ppapi/api/dev/pp_print_settings_dev.idl ('k') | ppapi/c/dev/pp_print_settings_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698