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

Unified Diff: pdf/pdf.cc

Issue 2642493002: Add hooks to PDFium PostScript code (Closed)
Patch Set: Created 3 years, 11 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/pdf.h ('k') | pdf/pdf_engine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdf.cc
diff --git a/pdf/pdf.cc b/pdf/pdf.cc
index e6cf54804c18ee0bc4086c6a891001f134187825..917ae4720b6ff263fa9b2e9fbc2e55b6da826081 100644
--- a/pdf/pdf.cc
+++ b/pdf/pdf.cc
@@ -123,6 +123,10 @@ void SetPDFEnsureTypefaceCharactersAccessible(
void SetPDFUseGDIPrinting(bool enable) {
PDFEngineExports::Get()->SetPDFUseGDIPrinting(enable);
}
+
+void SetPDFPostscriptPrintingLevel(int postscript_level) {
+ PDFEngineExports::Get()->SetPDFPostscriptPrintingLevel(postscript_level);
+}
#endif // defined(OS_WIN)
bool GetPDFDocInfo(const void* pdf_buffer,
« no previous file with comments | « pdf/pdf.h ('k') | pdf/pdf_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698