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

Unified Diff: chrome/common/chrome_utility_messages.h

Issue 211843004: Tunnel PWGRasterConfig capability to the ticket and to the utility process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 2c2acbcb1b90f0fb0d20d9973bfbf6ae89491399..d6759adc72ae326ed43274bd811328f0bd653f82 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -23,6 +23,7 @@
#include "printing/backend/print_backend.h"
#include "printing/page_range.h"
#include "printing/pdf_render_settings.h"
+#include "printing/pwg_raster_settings.h"
#include "third_party/skia/include/core/SkBitmap.h"
#define IPC_MESSAGE_START ChromeUtilityMsgStart
@@ -75,6 +76,14 @@ IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults)
IPC_STRUCT_TRAITS_MEMBER(duplex_default)
IPC_STRUCT_TRAITS_END()
+IPC_ENUM_TRAITS(printing::PwgRasterTransformType);
+
+IPC_STRUCT_TRAITS_BEGIN(printing::PwgRasterSettings)
+ IPC_STRUCT_TRAITS_MEMBER(odd_page_transform)
+ IPC_STRUCT_TRAITS_MEMBER(rotate_all_pages)
+ IPC_STRUCT_TRAITS_MEMBER(reverse_page_order)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Result)
IPC_STRUCT_TRAITS_MEMBER(extension_id)
IPC_STRUCT_TRAITS_MEMBER(version)
@@ -177,10 +186,12 @@ IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile,
std::vector<printing::PageRange>)
// Tell the utility process to render the given PDF into a PWGRaster.
-IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_RenderPDFPagesToPWGRaster,
- IPC::PlatformFileForTransit, /* Input PDF file */
- printing::PdfRenderSettings, /* PDF render settings */
- IPC::PlatformFileForTransit /* Output PWG file */)
+IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToPWGRaster,
+ IPC::PlatformFileForTransit, /* Input PDF file */
+ printing::PdfRenderSettings, /* PDF render settings */
+ // PWG transform settings.
+ printing::PwgRasterSettings,
+ IPC::PlatformFileForTransit /* Output PWG file */)
// Tell the utility process to decode the given JPEG image data with a robust
// libjpeg codec.
« no previous file with comments | « chrome/browser/local_discovery/pwg_raster_converter.cc ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698