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

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: almost working; SafePlayback failing in final print Created 6 years, 8 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..79c0b4061efc5c6451edc18ed14e9f6c8248e454 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -60,6 +60,11 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
const base::FilePath& metafile_path,
const printing::PdfRenderSettings& settings,
const std::vector<printing::PageRange>& page_ranges);
+ void OnRenderPDFPagesToMetafileHandles(
+ base::PlatformFile pdf_file,
+ base::PlatformFile metafile_file,
+ const printing::PdfRenderSettings& settings,
+ const std::vector<printing::PageRange>& page_ranges);
void OnRenderPDFPagesToPWGRaster(
IPC::PlatformFileForTransit pdf_transit,
const printing::PdfRenderSettings& settings,
@@ -85,6 +90,13 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
const std::vector<printing::PageRange>& page_ranges,
int* highest_rendered_page_number,
double* scale_factor);
+ bool RenderPDFToWinMetafileHandles(
+ base::PlatformFile pdf_file,
+ base::PlatformFile metafile_file,
+ const printing::PdfRenderSettings& settings,
+ const std::vector<printing::PageRange>& page_ranges,
+ int* highest_rendered_page_number,
+ double* scale_factor);
#endif // defined(OS_WIN)
bool RenderPDFPagesToPWGRaster(

Powered by Google App Engine
This is Rietveld 408576698