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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 79363002: Convert PDF to PWG Raster using utility process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/common/chrome_utility_messages.h ('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
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h
index 1e83046739d3fdaf1ed2e526ee5d2e292b4acae4..e1b40f51209556a2781fc2c488fb3612479dc1f9 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -54,6 +54,10 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
const base::FilePath& metafile_path,
const printing::PdfRenderSettings& settings,
const std::vector<printing::PageRange>& page_ranges);
+ void OnRenderPDFPagesToPWGRaster(
+ IPC::PlatformFileForTransit pdf_transit,
+ const printing::PdfRenderSettings& settings,
+ IPC::PlatformFileForTransit bitmap_transit);
void OnRobustJPEGDecodeImage(
const std::vector<unsigned char>& encoded_data);
void OnParseJSON(const std::string& json);
@@ -76,6 +80,11 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
double* scale_factor);
#endif // defined(OS_WIN)
+ bool RenderPDFPagesToPWGRaster(
+ base::PlatformFile pdf_file,
+ const printing::PdfRenderSettings& settings,
+ base::PlatformFile bitmap_file);
+
void OnGetPrinterCapsAndDefaults(const std::string& printer_name);
void OnStartupPing();
void OnAnalyzeZipFileForDownloadProtection(
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698