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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 255543006: Printing on Windows via PDF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cloud print and converter refactor Created 6 years, 7 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/utility/chrome_content_utility_client.h
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h
index c9e2d0eac6684edcf27905939a5141a5542ab80e..ee58389af08ff168ea6cd4319dfbf4e3c0ddcb2d 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -56,10 +56,15 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
void OnDecodeImage(const std::vector<unsigned char>& encoded_data);
void OnDecodeImageBase64(const std::string& encoded_data);
void OnRenderPDFPagesToMetafile(
- base::PlatformFile pdf_file,
+ IPC::PlatformFileForTransit pdf_transit,
const base::FilePath& metafile_path,
const printing::PdfRenderSettings& settings,
const std::vector<printing::PageRange>& page_ranges);
+#if defined(OS_WIN)
+ void OnRenderPDFToMetafile(IPC::PlatformFileForTransit pdf_transit,
+ const base::FilePath& metafile_path,
+ const printing::PdfRenderSettings& settings);
+#endif
void OnRenderPDFPagesToPWGRaster(
IPC::PlatformFileForTransit pdf_transit,
const printing::PdfRenderSettings& settings,
@@ -82,7 +87,7 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
base::PlatformFile pdf_file,
const base::FilePath& metafile_path,
const printing::PdfRenderSettings& settings,
- const std::vector<printing::PageRange>& page_ranges,
+ std::vector<printing::PageRange>* page_ranges,
int* highest_rendered_page_number,
double* scale_factor);
#endif // defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698