Do no load PDF library from DLL

We already have them compiled in.
This commit is contained in:
Cheng Zhao 2016-04-14 17:15:20 +09:00
parent b9ad09db91
commit ae0d007c5e
5 changed files with 16 additions and 129 deletions

View file

@ -12,10 +12,10 @@
#include "printing/pdf_render_settings.h"
namespace printing {
class PdfRenderSettings;
struct PwgRasterSettings;
struct PageRange;
}
// Dispatches IPCs for printing.
class PrintingHandlerWin : public UtilityMessageHandler {
@ -26,12 +26,10 @@ class PrintingHandlerWin : public UtilityMessageHandler {
// IPC::Listener:
bool OnMessageReceived(const IPC::Message& message) override;
static void PrintingHandlerWin::PreSandboxStartup();
private:
// IPC message handlers.
void OnRenderPDFPagesToMetafile(IPC::PlatformFileForTransit pdf_transit,
const printing::PdfRenderSettings& settings);
const PdfRenderSettings& settings);
void OnRenderPDFPagesToMetafileGetPage(
int page_number,
IPC::PlatformFileForTransit output_file);
@ -43,9 +41,11 @@ class PrintingHandlerWin : public UtilityMessageHandler {
float* scale_factor);
std::vector<char> pdf_data_;
printing::PdfRenderSettings pdf_rendering_settings_;
PdfRenderSettings pdf_rendering_settings_;
DISALLOW_COPY_AND_ASSIGN(PrintingHandlerWin);
};
} // namespace printing
#endif // CHROME_UTILITY_PRINTING_HANDLER_WIN_H_