Chromium Code Reviews| 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..524138a12b2c3a357c5b0904dee4ce0284b8ce50 100644 |
| --- a/chrome/common/chrome_utility_messages.h |
| +++ b/chrome/common/chrome_utility_messages.h |
| @@ -21,6 +21,7 @@ |
| #include "ipc/ipc_message_macros.h" |
| #include "ipc/ipc_platform_file.h" |
| #include "printing/backend/print_backend.h" |
| +#include "printing/bitmap_transform_settings.h" |
| #include "printing/page_range.h" |
| #include "printing/pdf_render_settings.h" |
| #include "third_party/skia/include/core/SkBitmap.h" |
| @@ -75,6 +76,14 @@ IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults) |
| IPC_STRUCT_TRAITS_MEMBER(duplex_default) |
| IPC_STRUCT_TRAITS_END() |
| +IPC_ENUM_TRAITS(printing::BitmapTransformType); |
| + |
| +IPC_STRUCT_TRAITS_BEGIN(printing::BitmapTransformSettings) |
| + 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,9 +186,11 @@ 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_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToPWGRaster, |
| IPC::PlatformFileForTransit, /* Input PDF file */ |
| printing::PdfRenderSettings, /* PDF render settings */ |
| + // PWG transform settings. |
| + printing::BitmapTransformSettings, |
|
Vitaly Buka (NO REVIEWS)
2014/03/26 00:31:12
BitmapTransformSettings -> PWGRasterSettings
Noam Samuel
2014/03/26 18:54:29
Done.
|
| IPC::PlatformFileForTransit /* Output PWG file */) |
| // Tell the utility process to decode the given JPEG image data with a robust |