summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_utility_process_host.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/service/service_utility_process_host.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/service/service_utility_process_host.h')
-rw-r--r--chrome/service/service_utility_process_host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/service/service_utility_process_host.h b/chrome/service/service_utility_process_host.h
index f24bd3a..df9fc42 100644
--- a/chrome/service/service_utility_process_host.h
+++ b/chrome/service/service_utility_process_host.h
@@ -21,6 +21,7 @@
#include "base/task.h"
#include "ipc/ipc_channel.h"
#include "chrome/service/service_child_process_host.h"
+#include "printing/pdf_render_settings.h"
class CommandLine;
class ScopedTempDir;
@@ -97,8 +98,7 @@ class ServiceUtilityProcessHost : public ServiceChildProcessHost {
// pages than the specified page ranges, it will render as many as available.
bool StartRenderPDFPagesToMetafile(
const FilePath& pdf_path,
- const gfx::Rect& render_area,
- int render_dpi,
+ const printing::PdfRenderSettings& render_settings,
const std::vector<printing::PageRange>& page_ranges);
// Starts a process to get capabilities and defaults for the specified