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

Unified Diff: chrome/common/chrome_utility_messages.h

Issue 255543006: Printing on Windows via PDF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: almost working; SafePlayback failing in final print Created 6 years, 8 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/common/chrome_utility_messages.h
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h
index c37556541828ffc42136e89a97f32d6dbbc1b9b3..a3f2002686200776e0e9aa943053f8283d2a6b39 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -178,13 +178,19 @@ IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64,
std::string) // base64 encoded image contents
// Tell the utility process to render the given PDF into a metafile.
-// TODO(vitalybuka): switch to IPC::PlatformFileForTransit.
+// TODO(vitalybuka|scottmg): Deprecated, use RenderPDFPagesToMetafileHandles.
IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile,
base::PlatformFile, // PDF file
base::FilePath, // Location for output metafile
printing::PdfRenderSettings, // PDF render settings
std::vector<printing::PageRange>)
+IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafileHandles,
+ IPC::PlatformFileForTransit, // PDF file
+ IPC::PlatformFileForTransit, // Output EMF.
+ printing::PdfRenderSettings, // PDF render settings
+ std::vector<printing::PageRange>)
+
// Tell the utility process to render the given PDF into a PWGRaster.
IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToPWGRaster,
IPC::PlatformFileForTransit, /* Input PDF file */

Powered by Google App Engine
This is Rietveld 408576698