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

Unified Diff: chrome/utility/printing_handler.h

Issue 2633573002: Add Postscript Printing (Closed)
Patch Set: Fix clang compile Created 3 years, 11 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: chrome/utility/printing_handler.h
diff --git a/chrome/utility/printing_handler.h b/chrome/utility/printing_handler.h
index 0d71af261fe6ff24b844c06dc6d7172cbfc80357..9471e00c6f3956919f5808b0d19022b1fd4e3d19 100644
--- a/chrome/utility/printing_handler.h
+++ b/chrome/utility/printing_handler.h
@@ -40,6 +40,13 @@ class PrintingHandler : public UtilityMessageHandler {
int page_number,
IPC::PlatformFileForTransit output_file);
void OnRenderPDFPagesToMetafileStop();
+ void OnRenderPDFPagesToPostScriptStart(
+ IPC::PlatformFileForTransit pdf_transit,
+ const PdfRenderSettings& settings);
+ void OnRenderPDFPagesToPostScriptGetPage(
+ int page_number,
+ IPC::PlatformFileForTransit output_file);
+ void OnRenderPDFPagesToPostScriptStop();
#endif // OS_WIN
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
void OnRenderPDFPagesToPWGRaster(IPC::PlatformFileForTransit pdf_transit,
@@ -53,6 +60,7 @@ class PrintingHandler : public UtilityMessageHandler {
bool RenderPdfPageToMetafile(int page_number,
base::File output_file,
float* scale_factor);
+ bool RenderPdfPageToPostScript(int page_number, base::File output_file);
#endif // OS_WIN
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
bool RenderPDFPagesToPWGRaster(base::File pdf_file,

Powered by Google App Engine
This is Rietveld 408576698