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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 2970473002: Add generic text printing (Closed)
Patch Set: Change enum names Created 3 years, 5 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
« no previous file with comments | « pdf/pdfium/pdfium_engine.h ('k') | printing/pdf_render_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_engine.cc
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc
index 37fef3068bc7739a8b2f9acd46cc8ebc2167adbb..22cff050cfae7e0f21ffff4e558be4a6bbf66eea 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -4154,10 +4154,9 @@ void PDFiumEngineExports::SetPDFUseGDIPrinting(bool enable) {
FPDF_SetPrintTextWithGDI(enable);
}
-void PDFiumEngineExports::SetPDFPostscriptPrintingLevel(int postscript_level) {
- FPDF_SetPrintPostscriptLevel(postscript_level);
+void PDFiumEngineExports::SetPDFUsePrintMode(int mode) {
+ FPDF_SetPrintMode(mode);
}
-
#endif // defined(OS_WIN)
bool PDFiumEngineExports::RenderPDFPageToBitmap(
« no previous file with comments | « pdf/pdfium/pdfium_engine.h ('k') | printing/pdf_render_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698