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

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: tidy Created 6 years, 7 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..f35bbb087b5bfa6209ca0812e0b47d0de9b751b3 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -185,6 +185,12 @@ IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile,
printing::PdfRenderSettings, // PDF render settings
std::vector<printing::PageRange>)
+// Tell the utility process to render the given PDF into a metafile.
+IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_RenderPDFToMetafile,
+ IPC::PlatformFileForTransit, // PDF file
Vitaly Buka (NO REVIEWS) 2014/05/13 23:54:33 Why not just ChromeUtilityMsg_RenderPDFPagesToMeta
scottmg 2014/05/14 00:34:48 A few (not great) reasons: - I don't know how many
Vitaly Buka (NO REVIEWS) 2014/05/14 03:51:18 Cloud you please put TODO on me, and I'll merge th
scottmg 2014/05/15 18:01:30 I took a try at merging, ptal.
+ base::FilePath, // Location for output metafile
+ printing::PdfRenderSettings) // PDF render settings
+
// 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