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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 2524143003: Print Preview: Add option to rasterize PDFs and add JPEG compression. (Closed)
Patch Set: Created 4 years, 1 month 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: content/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index 213c81262a0e64b0c91b9fb70f0a1ddc6e98c3c0..1ce13880c5cfdd084772016c05e7a6b5e02e9f66 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -648,7 +648,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
// Queries the plugin for supported print formats and sets |format| to the
// best format to use. Returns false if the plugin does not support any
// print format that we can handle (we can handle only PDF).
- bool GetPreferredPrintOutputFormat(PP_PrintOutputFormat_Dev* format);
+ bool GetPreferredPrintOutputFormat(PP_PrintOutputFormat_Dev* format,
+ const blink::WebPrintParams& params);
bool PrintPDFOutput(PP_Resource print_output,
printing::PdfMetafileSkia* metafile);

Powered by Google App Engine
This is Rietveld 408576698