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

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: Clean up JS Created 4 years 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 62fb17a4e0a4aa5400dea8bd3a16968c818a2eea..0ab078fb9e2fb40144e87225ed69e94b1c7e3fd7 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -647,7 +647,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