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

Unified Diff: pdf/pdf.cc

Issue 2970473002: Add generic text printing (Closed)
Patch Set: Clean up Created 3 years, 6 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
Index: pdf/pdf.cc
diff --git a/pdf/pdf.cc b/pdf/pdf.cc
index 03f6d72544dd688b2148e35df9f4fdac20418de0..15d07bb90ed6c3446eaad87c83fe7bee528116b4 100644
--- a/pdf/pdf.cc
+++ b/pdf/pdf.cc
@@ -122,6 +122,10 @@ void SetPDFUseGDIPrinting(bool enable) {
PDFEngineExports::Get()->SetPDFUseGDIPrinting(enable);
}
+void SetPDFUseTextOnlyPrinting(bool enable) {
+ PDFEngineExports::Get()->SetPDFUseTextOnlyPrinting(enable);
+}
+
void SetPDFPostscriptPrintingLevel(int postscript_level) {
PDFEngineExports::Get()->SetPDFPostscriptPrintingLevel(postscript_level);
}

Powered by Google App Engine
This is Rietveld 408576698