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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 8146004: Added autorotate flag in PDF rendering and wiring it through service-utility channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/chrome_content_utility_client.h
===================================================================
--- chrome/utility/chrome_content_utility_client.h (revision 104038)
+++ chrome/utility/chrome_content_utility_client.h (working copy)
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/platform_file.h"
#include "content/utility/content_utility_client.h"
+#include "printing/pdf_render_settings.h"
class ExternalProcessImporterBridge;
class FilePath;
@@ -55,8 +56,7 @@
void OnRenderPDFPagesToMetafile(
base::PlatformFile pdf_file,
const FilePath& metafile_path,
- const gfx::Rect& render_area,
- int render_dpi,
+ const printing::PdfRenderSettings& pdf_render_settings,
const std::vector<printing::PageRange>& page_ranges);
void OnParseJSON(const std::string& json);
@@ -68,6 +68,7 @@
const FilePath& metafile_path,
const gfx::Rect& render_area,
int render_dpi,
+ bool autorotate,
const std::vector<printing::PageRange>& page_ranges,
int* highest_rendered_page_number);
#endif // defined(OS_WIN)
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698