diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-20 09:07:22 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-20 09:07:22 +0000 |
commit | 76f5958b66dea9a92de3279b8d68eb9afa0022c6 (patch) | |
tree | 24d803475c70ab1a2ab72e9dcc2331ec720b1881 /printing/pdf_render_settings.h | |
parent | b63d9af0ef8114cb86c47158c192ae981c024066 (diff) | |
download | chromium_src-76f5958b66dea9a92de3279b8d68eb9afa0022c6.zip chromium_src-76f5958b66dea9a92de3279b8d68eb9afa0022c6.tar.gz chromium_src-76f5958b66dea9a92de3279b8d68eb9afa0022c6.tar.bz2 |
Load pdf library on all platforms.
Added RenderPDFPageToBitmap signature.
Call ChromeContentUtilityClient::PreSandboxStartup for Zygote. It does not real additional work. Zygote already loads pdf and initialize MediaLibrary for renderer inside content/, pdf is just to hard to access from Utility. ServiceDiscoveryMessageHandler::PreSandboxStartup does nothing for POSIX.
BUG=318373
Review URL: https://codereview.chromium.org/70083006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/pdf_render_settings.h')
-rw-r--r-- | printing/pdf_render_settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/pdf_render_settings.h b/printing/pdf_render_settings.h index 22784b7..9e8f930 100644 --- a/printing/pdf_render_settings.h +++ b/printing/pdf_render_settings.h @@ -18,7 +18,7 @@ namespace printing { // bool - autorotate pages to fit paper typedef Tuple3<gfx::Rect, int, bool> PdfRenderSettingsBase; -struct PdfRenderSettings : public PdfRenderSettingsBase { +class PdfRenderSettings : public PdfRenderSettingsBase { public: PdfRenderSettings() : PdfRenderSettingsBase() {} PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate) |