summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_utility_messages.h
diff options
context:
space:
mode:
authorgene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 21:39:26 +0000
committergene@chromium.org <gene@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 21:39:26 +0000
commitda00dc1867fb2c4e51b4f4dbaa5796a748eaf120 (patch)
tree749d03dd0e92b71b2cfc0b2901307d4ea697372c /chrome/common/chrome_utility_messages.h
parent98dd0af88597069ac8ff99287e9abe77e3236be3 (diff)
downloadchromium_src-da00dc1867fb2c4e51b4f4dbaa5796a748eaf120.zip
chromium_src-da00dc1867fb2c4e51b4f4dbaa5796a748eaf120.tar.gz
chromium_src-da00dc1867fb2c4e51b4f4dbaa5796a748eaf120.tar.bz2
Added autorotate flag in PDF rendering and wiring it through service-utility channel.
Review URL: http://codereview.chromium.org/8146004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_utility_messages.h')
-rw-r--r--chrome/common/chrome_utility_messages.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h
index d808f8d..9e51281 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -17,6 +17,7 @@
#include "ipc/ipc_message_macros.h"
#include "printing/backend/print_backend.h"
#include "printing/page_range.h"
+#include "printing/pdf_render_settings.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/rect.h"
@@ -74,11 +75,10 @@ IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64,
std::string) // base64 encoded image contents
// Tell the utility process to render the given PDF into a metafile.
-IPC_MESSAGE_CONTROL5(ChromeUtilityMsg_RenderPDFPagesToMetafile,
+IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile,
base::PlatformFile, // PDF file
FilePath, // Location for output metafile
- gfx::Rect, // Render Area
- int, // DPI
+ printing::PdfRenderSettings, // PDF render settitngs
std::vector<printing::PageRange>)
// Tell the utility process to parse a JSON string into a Value object.