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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 70083006: Load pdf library on all platforms. (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/app/chrome_main_delegate.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
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h
index d23602f14ac227a1f40062b5271cb466074e3e30..1e83046739d3fdaf1ed2e526ee5d2e292b4acae4 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -11,7 +11,6 @@
#include "chrome/common/media_galleries/picasa_types.h"
#include "content/public/utility/content_utility_client.h"
#include "ipc/ipc_platform_file.h"
-#include "printing/pdf_render_settings.h"
namespace base {
class FilePath;
@@ -23,6 +22,7 @@ class Rect;
}
namespace printing {
+class PdfRenderSettings;
struct PageRange;
}
@@ -52,7 +52,7 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
void OnRenderPDFPagesToMetafile(
base::PlatformFile pdf_file,
const base::FilePath& metafile_path,
- const printing::PdfRenderSettings& pdf_render_settings,
+ const printing::PdfRenderSettings& settings,
const std::vector<printing::PageRange>& page_ranges);
void OnRobustJPEGDecodeImage(
const std::vector<unsigned char>& encoded_data);
@@ -70,9 +70,7 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
bool RenderPDFToWinMetafile(
base::PlatformFile pdf_file,
const base::FilePath& metafile_path,
- const gfx::Rect& render_area,
- int render_dpi,
- bool autorotate,
+ const printing::PdfRenderSettings& settings,
const std::vector<printing::PageRange>& page_ranges,
int* highest_rendered_page_number,
double* scale_factor);
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698